summaryrefslogtreecommitdiffstats
path: root/doc/build.info
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2022-10-03 07:10:34 +0200
committerRichard Levitte <levitte@openssl.org>2022-10-06 08:01:09 +0200
commit82d28c6b3cbd8074faaa34cc2ce57dacc580792f (patch)
treeee3ec2399066e8e508512d4e4c7eb6342f44c3a9 /doc/build.info
parenta8572674f12ceb39f7e66ccbaa8918b922c76739 (diff)
Rename ossl_sleep() to OSSL_sleep() and make it public
ossl_sleep() was implemented as a static inline function in internal/e_os.h, using usleep() on Unix and Sleep() on Windows. So far well and good. However, it also has a fallback implementation for systems that do not have usleep() or Sleep(), and that implementation happens to use ossl_time_now(), which is a normal function, private to libcrypto, and is judged to be too complex to sanely make into a static inline function. This fallback creates a problem, because we do use ossl_sleep() in apps/ and a few test programs in test/, and when they are linked with libcrypto in shared library form, ossl_time_now() can't be found, since it's not publicly exposed. Something needs to give, and the easiest, and hopefully sanest answer is to make ossl_sleep() a publicly exposed function, which requires a slight name change. Documentation and 'make update' result included. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/19330)
Diffstat (limited to 'doc/build.info')
-rw-r--r--doc/build.info6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/build.info b/doc/build.info
index 809ffee95b..45886a4f27 100644
--- a/doc/build.info
+++ b/doc/build.info
@@ -1723,6 +1723,10 @@ DEPEND[html/man3/OSSL_STORE_open.html]=man3/OSSL_STORE_open.pod
GENERATE[html/man3/OSSL_STORE_open.html]=man3/OSSL_STORE_open.pod
DEPEND[man/man3/OSSL_STORE_open.3]=man3/OSSL_STORE_open.pod
GENERATE[man/man3/OSSL_STORE_open.3]=man3/OSSL_STORE_open.pod
+DEPEND[html/man3/OSSL_sleep.html]=man3/OSSL_sleep.pod
+GENERATE[html/man3/OSSL_sleep.html]=man3/OSSL_sleep.pod
+DEPEND[man/man3/OSSL_sleep.3]=man3/OSSL_sleep.pod
+GENERATE[man/man3/OSSL_sleep.3]=man3/OSSL_sleep.pod
DEPEND[html/man3/OSSL_trace_enabled.html]=man3/OSSL_trace_enabled.pod
GENERATE[html/man3/OSSL_trace_enabled.html]=man3/OSSL_trace_enabled.pod
DEPEND[man/man3/OSSL_trace_enabled.3]=man3/OSSL_trace_enabled.pod
@@ -3194,6 +3198,7 @@ html/man3/OSSL_STORE_SEARCH.html \
html/man3/OSSL_STORE_attach.html \
html/man3/OSSL_STORE_expect.html \
html/man3/OSSL_STORE_open.html \
+html/man3/OSSL_sleep.html \
html/man3/OSSL_trace_enabled.html \
html/man3/OSSL_trace_get_category_num.html \
html/man3/OSSL_trace_set_channel.html \
@@ -3797,6 +3802,7 @@ man/man3/OSSL_STORE_SEARCH.3 \
man/man3/OSSL_STORE_attach.3 \
man/man3/OSSL_STORE_expect.3 \
man/man3/OSSL_STORE_open.3 \
+man/man3/OSSL_sleep.3 \
man/man3/OSSL_trace_enabled.3 \
man/man3/OSSL_trace_get_category_num.3 \
man/man3/OSSL_trace_set_channel.3 \