summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-05-28 15:16:45 +0200
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-06-16 18:51:39 +0200
commite98c7350bfaf0ae1f2b72d68d4c5721de24a478f (patch)
treec98d71a7215e057d2c1fea65f741a4bf58648d28 /util
parent3f528d0899e8fe850c63d600ee29146bc8a9c125 (diff)
Improve BIO_socket_wait(), BIO_wait(), BIO_connect_retry(), and their docs
Add/extend range check for 'fd' argument of BIO_socket_wait() and bio_wait() Correct nap time calculations in bio_wait(), thus correcting also BIO_wait() Update a type cast from 'unsigned long' to 'unsigned int' Extend the comments and documentation of BIO_wait() Rename BIO_connect_retry() to BIO_do_connect_retry() Make its 'timeout' argument < 0 lead to BIO_do_connect() tried only once Add optional 'nap_milliseconds' parameter determining the polling granularity Correct and generalize the retry case checking Extend the comments and documentation of BIO_do_connect_retry() Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11986)
Diffstat (limited to 'util')
-rw-r--r--util/libcrypto.num2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num
index 317481388c..230126ff55 100644
--- a/util/libcrypto.num
+++ b/util/libcrypto.num
@@ -4926,7 +4926,7 @@ RAND_DRBG_set_callback_data ? 3_0_0 EXIST::FUNCTION:
RAND_DRBG_get_callback_data ? 3_0_0 EXIST::FUNCTION:
BIO_socket_wait ? 3_0_0 EXIST::FUNCTION:SOCK
BIO_wait ? 3_0_0 EXIST::FUNCTION:
-BIO_connect_retry ? 3_0_0 EXIST::FUNCTION:
+BIO_do_connect_retry ? 3_0_0 EXIST::FUNCTION:
ERR_load_HTTP_strings ? 3_0_0 EXIST::FUNCTION:
OSSL_HTTP_get ? 3_0_0 EXIST::FUNCTION:
OSSL_HTTP_get_asn1 ? 3_0_0 EXIST::FUNCTION: