summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-03-19 20:31:50 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-03-19 20:31:50 +0000
commit34649c1ee7c9e159ecd43b0917e2a45f305f35b3 (patch)
tree51b41f6ccdb7a14889c765787f738fe3515af978 /lib
parent36e6f5ed04235c71d740432912923f197aa2463f (diff)
Prepare documenting SSL_use_certificate_chain_file
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/man/SSL_CTX_use_certificate.321
1 files changed, 19 insertions, 2 deletions
diff --git a/lib/libssl/man/SSL_CTX_use_certificate.3 b/lib/libssl/man/SSL_CTX_use_certificate.3
index 3fa95c71d26..a9f0aad98fe 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.14 2019/11/14 20:48:48 millert Exp $
+.\" $OpenBSD: SSL_CTX_use_certificate.3,v 1.15 2021/03/19 20:31:49 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: November 14 2019 $
+.Dd $Mdocdate: March 19 2021 $
.Dt SSL_CTX_USE_CERTIFICATE 3
.Os
.Sh NAME
@@ -59,6 +59,9 @@
.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 ,
@@ -89,6 +92,10 @@
.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
@@ -219,6 +226,10 @@ 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
.Vt SSL
object.
@@ -428,6 +439,12 @@ 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