diff options
author | Jon Spillett <jon.spillett@oracle.com> | 2017-03-28 16:35:25 +1000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-03-29 07:10:18 +0200 |
commit | 3aaa1bd076bef8baf2ff9a71eb83e0a445943ea3 (patch) | |
tree | 3f4ff1d7e6b6090c3bd275e925a3b3493da8ea0d | |
parent | d5d5b5fc77fbfa6df320ed50ee8f68d3385699a2 (diff) | |
download | openssl-3aaa1bd076bef8baf2ff9a71eb83e0a445943ea3.tar.gz |
SSL_CTX_use_PrivateKey_file uses private key, not certificate
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3070)
-rw-r--r-- | doc/man3/SSL_CTX_use_certificate.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man3/SSL_CTX_use_certificate.pod b/doc/man3/SSL_CTX_use_certificate.pod index 1feb576c69..22420f97d8 100644 --- a/doc/man3/SSL_CTX_use_certificate.pod +++ b/doc/man3/SSL_CTX_use_certificate.pod @@ -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 |