diff options
author | tb <> | 2021-03-31 16:53:30 +0000 |
---|---|---|
committer | tb <> | 2021-03-31 16:53:30 +0000 |
commit | 0a7cdf78f43b1cf1e8ed7570e1003d2d4ec2bcea (patch) | |
tree | 99591c60c5ca83f52ac203cddf555ec77409f872 /src/lib | |
parent | 87215fe78f12c94897426fd93d56f75076d71dee (diff) | |
download | openbsd-0a7cdf78f43b1cf1e8ed7570e1003d2d4ec2bcea.tar.gz openbsd-0a7cdf78f43b1cf1e8ed7570e1003d2d4ec2bcea.tar.bz2 openbsd-0a7cdf78f43b1cf1e8ed7570e1003d2d4ec2bcea.zip |
Document SSL_use_certificate_chain_file(3)
ok bcook inoguchi jsing
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libssl/man/SSL_CTX_use_certificate.3 | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/lib/libssl/man/SSL_CTX_use_certificate.3 b/src/lib/libssl/man/SSL_CTX_use_certificate.3 index a9f0aad98f..fac1245f1c 100644 --- a/src/lib/libssl/man/SSL_CTX_use_certificate.3 +++ b/src/lib/libssl/man/SSL_CTX_use_certificate.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: SSL_CTX_use_certificate.3,v 1.15 2021/03/19 20:31:49 tb Exp $ | 1 | .\" $OpenBSD: SSL_CTX_use_certificate.3,v 1.16 2021/03/31 16:53:30 tb Exp $ |
2 | .\" full merge up to: OpenSSL 3aaa1bd0 Mar 28 16:35:25 2017 +1000 | 2 | .\" full merge up to: OpenSSL 3aaa1bd0 Mar 28 16:35:25 2017 +1000 |
3 | .\" selective merge up to: OpenSSL d1f7a1e6 Apr 26 14:05:40 2018 +0100 | 3 | .\" selective merge up to: OpenSSL d1f7a1e6 Apr 26 14:05:40 2018 +0100 |
4 | .\" | 4 | .\" |
@@ -50,7 +50,7 @@ | |||
50 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 50 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
51 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 51 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
52 | .\" | 52 | .\" |
53 | .Dd $Mdocdate: March 19 2021 $ | 53 | .Dd $Mdocdate: March 31 2021 $ |
54 | .Dt SSL_CTX_USE_CERTIFICATE 3 | 54 | .Dt SSL_CTX_USE_CERTIFICATE 3 |
55 | .Os | 55 | .Os |
56 | .Sh NAME | 56 | .Sh NAME |
@@ -59,9 +59,7 @@ | |||
59 | .Nm SSL_CTX_use_certificate_file , | 59 | .Nm SSL_CTX_use_certificate_file , |
60 | .Nm SSL_use_certificate , | 60 | .Nm SSL_use_certificate , |
61 | .Nm SSL_use_certificate_ASN1 , | 61 | .Nm SSL_use_certificate_ASN1 , |
62 | .ig \" will appear in a library bump before Ox 6.9 | ||
63 | .Nm SSL_use_certificate_chain_file , | 62 | .Nm SSL_use_certificate_chain_file , |
64 | .. | ||
65 | .Nm SSL_use_certificate_file , | 63 | .Nm SSL_use_certificate_file , |
66 | .Nm SSL_CTX_use_certificate_chain_file , | 64 | .Nm SSL_CTX_use_certificate_chain_file , |
67 | .Nm SSL_CTX_use_certificate_chain_mem , | 65 | .Nm SSL_CTX_use_certificate_chain_mem , |
@@ -92,10 +90,8 @@ | |||
92 | .Fn SSL_use_certificate "SSL *ssl" "X509 *x" | 90 | .Fn SSL_use_certificate "SSL *ssl" "X509 *x" |
93 | .Ft int | 91 | .Ft int |
94 | .Fn SSL_use_certificate_ASN1 "SSL *ssl" "unsigned char *d" "int len" | 92 | .Fn SSL_use_certificate_ASN1 "SSL *ssl" "unsigned char *d" "int len" |
95 | .ig | ||
96 | .Ft int | 93 | .Ft int |
97 | .Fn SSL_use_certificate_chain_file "SSL *ssl" "const char *file" | 94 | .Fn SSL_use_certificate_chain_file "SSL *ssl" "const char *file" |
98 | .. | ||
99 | .Ft int | 95 | .Ft int |
100 | .Fn SSL_use_certificate_file "SSL *ssl" "const char *file" "int type" | 96 | .Fn SSL_use_certificate_file "SSL *ssl" "const char *file" "int type" |
101 | .Ft int | 97 | .Ft int |
@@ -226,11 +222,9 @@ The certificates must be in PEM format and must be sorted starting with the | |||
226 | subject's certificate (actual client or server certificate), | 222 | subject's certificate (actual client or server certificate), |
227 | followed by intermediate CA certificates if applicable, | 223 | followed by intermediate CA certificates if applicable, |
228 | and ending at the highest level (root) CA. | 224 | and ending at the highest level (root) CA. |
229 | .ig | ||
230 | With the exception of | 225 | With the exception of |
231 | .Fn SSL_use_certificate_chain_file , | 226 | .Fn SSL_use_certificate_chain_file , |
232 | .. | 227 | there is no corresponding function working on a single |
233 | There is no corresponding function working on a single | ||
234 | .Vt SSL | 228 | .Vt SSL |
235 | object. | 229 | object. |
236 | .Pp | 230 | .Pp |
@@ -439,12 +433,10 @@ All these functions have been available since | |||
439 | .Fn SSL_CTX_use_certificate_chain_file | 433 | .Fn SSL_CTX_use_certificate_chain_file |
440 | first appeared in OpenSSL 0.9.4 and has been available since | 434 | first appeared in OpenSSL 0.9.4 and has been available since |
441 | .Ox 2.6 . | 435 | .Ox 2.6 . |
442 | .ig | ||
443 | .Pp | 436 | .Pp |
444 | .Fn SSL_use_certificate_chain_file | 437 | .Fn SSL_use_certificate_chain_file |
445 | first appeared in OpenSSL 1.1.0 and has been available since | 438 | first appeared in OpenSSL 1.1.0 and has been available since |
446 | .Ox 6.9 . | 439 | .Ox 6.9 . |
447 | .. | ||
448 | .Pp | 440 | .Pp |
449 | Support for DER encoded private keys | 441 | Support for DER encoded private keys |
450 | .Pq Dv SSL_FILETYPE_ASN1 | 442 | .Pq Dv SSL_FILETYPE_ASN1 |