diff options
| author | bentley <> | 2014-10-12 09:33:04 +0000 |
|---|---|---|
| committer | bentley <> | 2014-10-12 09:33:04 +0000 |
| commit | 78332233d01faa45e0bb0b1583d47cb5ad1ddc19 (patch) | |
| tree | a5087bf8d016a6041c2b6822fbecfd8f6c5e70b1 /src/lib/libssl/doc/SSL_CTX_add_extra_chain_cert.3 | |
| parent | 4e737c824fafe5f105e5f4849a9db2569b5d53d8 (diff) | |
| download | openbsd-78332233d01faa45e0bb0b1583d47cb5ad1ddc19.tar.gz openbsd-78332233d01faa45e0bb0b1583d47cb5ad1ddc19.tar.bz2 openbsd-78332233d01faa45e0bb0b1583d47cb5ad1ddc19.zip | |
Convert libssl manpages from pod to mdoc(7).
libcrypto has not been started yet.
ok schwarze@ miod@
Diffstat (limited to 'src/lib/libssl/doc/SSL_CTX_add_extra_chain_cert.3')
| -rw-r--r-- | src/lib/libssl/doc/SSL_CTX_add_extra_chain_cert.3 | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/lib/libssl/doc/SSL_CTX_add_extra_chain_cert.3 b/src/lib/libssl/doc/SSL_CTX_add_extra_chain_cert.3 new file mode 100644 index 0000000000..2664c67a5a --- /dev/null +++ b/src/lib/libssl/doc/SSL_CTX_add_extra_chain_cert.3 | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | .Dd $Mdocdate: October 12 2014 $ | ||
| 2 | .Dt SSL_CTX_ADD_EXTRA_CHAIN_CERT 3 | ||
| 3 | .Os | ||
| 4 | .Sh NAME | ||
| 5 | .Nm SSL_CTX_add_extra_chain_cert | ||
| 6 | .Nd add certificate to chain | ||
| 7 | .Sh SYNOPSIS | ||
| 8 | .In openssl/ssl.h | ||
| 9 | .Ft long | ||
| 10 | .Fn SSL_CTX_add_extra_chain_cert "SSL_CTX ctx" "X509 *x509" | ||
| 11 | .Sh DESCRIPTION | ||
| 12 | .Fn SSL_CTX_add_extra_chain_cert | ||
| 13 | adds the certificate | ||
| 14 | .Fa x509 | ||
| 15 | to the certificate chain presented together with the certificate. | ||
| 16 | Several certificates can be added one after the other. | ||
| 17 | .Sh NOTES | ||
| 18 | When constructing the certificate chain, the chain will be formed from | ||
| 19 | these certificates explicitly specified. | ||
| 20 | If no chain is specified, the library will try to complete the chain from the | ||
| 21 | available CA certificates in the trusted CA storage, see | ||
| 22 | .Xr SSL_CTX_load_verify_locations 3 . | ||
| 23 | .Pp | ||
| 24 | The x509 certificate provided to | ||
| 25 | .Fn SSL_CTX_add_extra_chain_cert | ||
| 26 | will be freed by the library when the | ||
| 27 | .Vt SSL_CTX | ||
| 28 | is destroyed. | ||
| 29 | An application | ||
| 30 | .Em should not | ||
| 31 | free the | ||
| 32 | .Fa x509 | ||
| 33 | object. | ||
| 34 | .Sh RETURN VALUES | ||
| 35 | .Fn SSL_CTX_add_extra_chain_cert | ||
| 36 | returns 1 on success. | ||
| 37 | Check out the error stack to find out the reason for failure otherwise. | ||
| 38 | .Sh SEE ALSO | ||
| 39 | .Xr ssl 3 , | ||
| 40 | .Xr SSL_CTX_load_verify_locations 3 , | ||
| 41 | .Xr SSL_CTX_set_client_cert_cb 3 , | ||
| 42 | .Xr SSL_CTX_use_certificate 3 | ||
