From: Jon Spillett Date: Tue, 28 Mar 2017 06:35:25 +0000 (+1000) Subject: SSL_CTX_use_PrivateKey_file uses private key, not certificate X-Git-Tag: OpenSSL_1_1_1-pre1~1925 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3aaa1bd076bef8baf2ff9a71eb83e0a445943ea3;p=oweals%2Fopenssl.git SSL_CTX_use_PrivateKey_file uses private key, not certificate Reviewed-by: Rich Salz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/3070) --- 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_CTX_use_PrivateKey_file() adds the first private key found in -B to B. The formatting B of the certificate must be specified +B to B. The formatting B 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 to B. SSL_use_PrivateKey_file() adds the first private key found