diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2022-06-28 17:47:40 +0200 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2022-07-06 08:24:04 +0100 |
commit | 941a1ffc3577a98408aefe40163ce6ac3b0011a0 (patch) | |
tree | 021051d9a68a006c086e51c71585a62a240d68f7 /doc | |
parent | ae8a8f06190c96b4252685ba2bf293893200af83 (diff) |
OSSL_HTTP_open(): improve use of use_ssl and its documentation
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18674)
(cherry picked from commit 35750cb9af007702dad92d62da57200fdf9ddaf4)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/OSSL_HTTP_transfer.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man3/OSSL_HTTP_transfer.pod b/doc/man3/OSSL_HTTP_transfer.pod index 7e823db3ea..1a5a973d52 100644 --- a/doc/man3/OSSL_HTTP_transfer.pod +++ b/doc/man3/OSSL_HTTP_transfer.pod @@ -102,8 +102,8 @@ The callback function may modify the BIO provided in the I<bio> argument, whereby it may make use of a custom defined argument I<arg>, which may for instance point to an B<SSL_CTX> structure. During connection establishment, just after calling BIO_do_connect_retry(), the -callback function is invoked with the I<connect> argument being 1 and the I<detail> -argument being 1 if HTTPS is requested, i.e., SSL/TLS should be enabled, else 0. +callback function is invoked with the I<connect> argument being 1 and +I<detail> being 1 if I<use_ssl> is nonzero (i.e., HTTPS is requested), else 0. On disconnect I<connect> is 0 and I<detail> is 1 if no error occurred, else 0. For instance, on connect the callback may push an SSL BIO to implement HTTPS; after disconnect it may do some diagnostic output and pop and free the SSL BIO. |