From 3ab01aea6cbd12c1ef51701054380bdb742b0fe1 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Wed, 28 Dec 2016 01:51:52 +0000 Subject: Add a dire warning to not confuse i2d_PKCS8PrivateKey_bio(3) with i2d_PKCS8PrivateKeyInfo_bio(3). While here, polish the cross references. --- src/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3 | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3 b/src/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3 index be102ff3fe..f0cd8e97d1 100644 --- a/src/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3 +++ b/src/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: d2i_PKCS8PrivateKey_bio.3,v 1.6 2016/12/22 12:10:06 schwarze Exp $ +.\" $OpenBSD: d2i_PKCS8PrivateKey_bio.3,v 1.7 2016/12/28 01:51:52 schwarze Exp $ .\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 .\" .\" This file was written by Dr. Stephen Henson . @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 22 2016 $ +.Dd $Mdocdate: December 28 2016 $ .Dt D2I_PKCS8PRIVATEKEY_BIO 3 .Os .Sh NAME @@ -145,6 +145,14 @@ see .Xr BIO_s_mem 3 for details. .Sh SEE ALSO -.Xr BIO_new 3 , -.Xr PEM_read_PKCS8_PRIV_KEY_INFO 3 , +.Xr d2i_X509_SIG 3 , +.Xr PEM_read_PKCS8PrivateKey 3 , .Xr PKCS8_PRIV_KEY_INFO_new 3 +.Sh CAVEATS +Do not confuse these functions with +.Xr i2d_PKCS8PrivateKeyInfo_bio 3 +and +.Xr i2d_PKCS8PrivateKeyInfo_fp 3 , +which write out private keys in +.Sy unencrypted +DER format. -- cgit v1.2.3-55-g6feb