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:21:53 +0100 |
commit | 35750cb9af007702dad92d62da57200fdf9ddaf4 (patch) | |
tree | b6885ab84b8588540428983d4719651212e792cb /crypto/http | |
parent | 96e13a1679872d879683346c1e09ca227f77efb0 (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)
Diffstat (limited to 'crypto/http')
-rw-r--r-- | crypto/http/http_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/http/http_client.c b/crypto/http/http_client.c index ad7574e695..96b18dc9d3 100644 --- a/crypto/http/http_client.c +++ b/crypto/http/http_client.c @@ -975,7 +975,7 @@ OSSL_HTTP_REQ_CTX *OSSL_HTTP_open(const char *server, const char *port, if (bio_update_fn != NULL) { BIO *orig_bio = cbio; - cbio = (*bio_update_fn)(cbio, arg, 1 /* connect */, use_ssl); + cbio = (*bio_update_fn)(cbio, arg, 1 /* connect */, use_ssl != 0); if (cbio == NULL) { if (bio == NULL) /* cbio was not provided by caller */ BIO_free_all(orig_bio); |