SSL_CTX_use_PrivateKey_file uses private key, not certificate
authorJon Spillett <jon.spillett@oracle.com>
Tue, 28 Mar 2017 06:35:25 +0000 (16:35 +1000)
committerRichard Levitte <levitte@openssl.org>
Wed, 29 Mar 2017 05:10:18 +0000 (07:10 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3070)

doc/man3/SSL_CTX_use_certificate.pod

index 1feb576c69ffc10be0e3abe1d9365147c47748bc..22420f97d8bdf61536899cefdc00a8c80e979cca 100644 (file)
@@ -103,7 +103,7 @@ SSL_use_PrivateKey_ASN1() and SSL_use_RSAPrivateKey_ASN1() add the private
 key to B<ssl>.
 
 SSL_CTX_use_PrivateKey_file() adds the first private key found in
-B<file> to B<ctx>. The formatting B<type> of the certificate must be specified
+B<file> to B<ctx>. The formatting B<type> of the private key must be specified
 from the known types SSL_FILETYPE_PEM, SSL_FILETYPE_ASN1.
 SSL_CTX_use_RSAPrivateKey_file() adds the first private RSA key found in
 B<file> to B<ctx>. SSL_use_PrivateKey_file() adds the first private key found