From b2aa215ef3a50d57d12d35d60d19e5a0db1026a9 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Wed, 31 Mar 2021 16:53:31 +0000 Subject: Document SSL_use_certificate_chain_file(3) ok bcook inoguchi jsing --- lib/libssl/man/SSL_CTX_use_certificate.3 | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'lib') diff --git a/lib/libssl/man/SSL_CTX_use_certificate.3 b/lib/libssl/man/SSL_CTX_use_certificate.3 index a9f0aad98fe..fac1245f1cc 100644 --- a/lib/libssl/man/SSL_CTX_use_certificate.3 +++ b/lib/libssl/man/SSL_CTX_use_certificate.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SSL_CTX_use_certificate.3,v 1.15 2021/03/19 20:31:49 tb Exp $ +.\" $OpenBSD: SSL_CTX_use_certificate.3,v 1.16 2021/03/31 16:53:30 tb Exp $ .\" full merge up to: OpenSSL 3aaa1bd0 Mar 28 16:35:25 2017 +1000 .\" selective merge up to: OpenSSL d1f7a1e6 Apr 26 14:05:40 2018 +0100 .\" @@ -50,7 +50,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 19 2021 $ +.Dd $Mdocdate: March 31 2021 $ .Dt SSL_CTX_USE_CERTIFICATE 3 .Os .Sh NAME @@ -59,9 +59,7 @@ .Nm SSL_CTX_use_certificate_file , .Nm SSL_use_certificate , .Nm SSL_use_certificate_ASN1 , -.ig \" will appear in a library bump before Ox 6.9 .Nm SSL_use_certificate_chain_file , -.. .Nm SSL_use_certificate_file , .Nm SSL_CTX_use_certificate_chain_file , .Nm SSL_CTX_use_certificate_chain_mem , @@ -92,10 +90,8 @@ .Fn SSL_use_certificate "SSL *ssl" "X509 *x" .Ft int .Fn SSL_use_certificate_ASN1 "SSL *ssl" "unsigned char *d" "int len" -.ig .Ft int .Fn SSL_use_certificate_chain_file "SSL *ssl" "const char *file" -.. .Ft int .Fn SSL_use_certificate_file "SSL *ssl" "const char *file" "int type" .Ft int @@ -226,11 +222,9 @@ The certificates must be in PEM format and must be sorted starting with the subject's certificate (actual client or server certificate), followed by intermediate CA certificates if applicable, and ending at the highest level (root) CA. -.ig With the exception of .Fn SSL_use_certificate_chain_file , -.. -There is no corresponding function working on a single +there is no corresponding function working on a single .Vt SSL object. .Pp @@ -439,12 +433,10 @@ All these functions have been available since .Fn SSL_CTX_use_certificate_chain_file first appeared in OpenSSL 0.9.4 and has been available since .Ox 2.6 . -.ig .Pp .Fn SSL_use_certificate_chain_file first appeared in OpenSSL 1.1.0 and has been available since .Ox 6.9 . -.. .Pp Support for DER encoded private keys .Pq Dv SSL_FILETYPE_ASN1 -- cgit v1.2.3