openssl/include/internal
Richard Levitte 82d28c6b3c 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)
2022-10-06 08:01:09 +02:00
..
__DECC_INCLUDE_EPILOGUE.H
__DECC_INCLUDE_PROLOGUE.H
asn1.h internal/asn1.h: Add missing '#include <openssl/bio.h>' 2022-09-30 22:25:45 +02:00
bio.h BIO_sendmmsg/BIO_recvmmsg (API only) 2022-08-19 09:01:30 +01:00
bio_addr.h QUIC Demuxer and Record Layer (RX Side) 2022-09-02 10:03:55 +02:00
bio_tfo.h Add TFO support to socket BIO and s_client/s_server 2022-03-10 10:42:43 -05:00
common.h Add support for loading root CAs from Windows crypto API 2022-09-14 14:10:18 +01:00
comp.h Update copyright year 2021-04-08 13:04:41 +01:00
conf.h Add ossl_ conf symbols 2021-03-18 17:52:37 +10:00
constant_time.h Add a constant time zero check function for 64-bit integers 2021-04-08 12:18:10 +01:00
core.h "Reserve" the method store when constructing methods 2022-07-20 07:28:17 +01:00
cryptlib.h libcrypto refactoring: introduce and use ossl_asn1_string_set_bits_left() 2022-07-19 08:44:19 +02:00
dane.h Update copyright year 2021-02-18 15:05:17 +00:00
deprecated.h Update copyright year 2021-02-18 15:05:17 +00:00
der.h der_writer: Use uint32_t instead of long. 2022-06-27 10:58:40 +02:00
dso.h Update copyright year 2021-02-18 15:05:17 +00:00
dsoerr.h err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
e_os.h Rename ossl_sleep() to OSSL_sleep() and make it public 2022-10-06 08:01:09 +02:00
endian.h Update copyright year 2021-02-18 15:05:17 +00:00
err.h Update copyright year 2021-02-18 15:05:17 +00:00
event_queue.h ssl: implement an event queue 2022-07-06 10:33:11 +10:00
ffc.h Use as small dh key size as possible to support the security 2022-07-18 08:06:17 +01:00
ktls.h Update copyright year 2022-05-03 13:34:51 +01:00
list.h list: add a doubly linked list type. 2022-09-05 16:24:53 +10:00
namemap.h Drop ossl_namemap_add_name_n() and simplify ossl_namemap_add_names() 2022-05-21 21:49:54 +02:00
nelem.h Update copyright year 2021-02-18 15:05:17 +00:00
numbers.h Fix definition of ossl_intmax_t and ossl_uintmax_t 2021-06-22 19:49:52 +10:00
o_dir.h Update copyright year 2021-02-18 15:05:17 +00:00
packet.h QUIC Frame Encoding and Decoding Functions 2022-07-29 16:28:37 +10:00
param_build_set.h Update copyright year 2022-05-03 13:34:51 +01:00
passphrase.h Fix pvk encoder to properly query for the passphrase 2021-12-06 16:38:03 +01:00
priority_queue.h Add additional include 2022-07-06 10:33:11 +10:00
property.h "Reserve" the method store when constructing methods 2022-07-20 07:28:17 +01:00
propertyerr.h err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
provider.h Drop ossl_provider_clear_all_operation_bits() and all uses of it 2022-05-05 15:05:54 +02:00
quic_ackm.h QUIC ACK Manager, Statistics Manager and Congestion Control API 2022-08-24 14:05:46 +01:00
quic_cc.h QUIC ACK Manager, Statistics Manager and Congestion Control API 2022-08-24 14:05:46 +01:00
quic_demux.h Add deferred datagram limit to QUIC Record Layer RX 2022-09-22 10:01:35 +01:00
quic_error.h QUIC Flow Control 2022-09-26 08:01:55 +01:00
quic_fc.h QUIC Flow Control 2022-09-26 08:01:55 +01:00
quic_record_rx.h Add deferred datagram limit to QUIC Record Layer RX 2022-09-22 10:01:35 +01:00
quic_record_tx.h TX key update support, RX time and PN reporting, general refactoring 2022-09-02 10:03:55 +02:00
quic_record_util.h QUIC Record Layer (Refactor and TX Side) 2022-09-02 10:03:55 +02:00
quic_rx_depack.h Implement the RX Depacketizer 2022-09-23 17:55:03 +02:00
quic_ssl.h Move the QUIC_CONNECTION typedef to internal headers 2022-09-23 17:48:54 +02:00
quic_statm.h QUIC ACK Manager, Statistics Manager and Congestion Control API 2022-08-24 14:05:46 +01:00
quic_stream.h QUIC Send Stream Management 2022-10-05 16:15:06 +02:00
quic_types.h TX key update support, RX time and PN reporting, general refactoring 2022-09-02 10:03:55 +02:00
quic_vlint.h QUIC wire format support 2022-05-27 08:00:52 +02:00
quic_wire.h QUIC Demuxer and Record Layer (RX Side) 2022-09-02 10:03:55 +02:00
quic_wire_pkt.h TX key update support, RX time and PN reporting, general refactoring 2022-09-02 10:03:55 +02:00
refcount.h Rework and make DEBUG macros consistent. 2021-05-28 10:04:31 +02:00
safe_math.h Avoid divide by 0 exception 2022-10-02 20:41:34 +11:00
sha3.h include/internal: Remove TODOs that are irrelevant for 3.0 2021-03-04 14:15:01 +01:00
sizes.h Update copyright year 2021-02-18 15:05:17 +00:00
sm3.h Add ossl_ symbols for sm3 and sm4 2021-03-18 17:52:37 +10:00
sockets.h djgpp: Define WATT32_NO_OLDIES before including socket headers 2022-09-29 12:00:30 +02:00
sslconf.h Update copyright year 2021-02-18 15:05:17 +00:00
symhacks.h Instantiate predefined providers just-in-time 2021-06-24 14:48:14 +01:00
thread_once.h
time.h time: add some additional utilities and document everything 2022-09-13 21:13:22 +10:00
tlsgroups.h Enable brainpool curves for TLS1.3 2021-11-26 06:45:19 +01:00
tsan_assist.h Update copyright year 2022-05-03 13:34:51 +01:00
uint_set.h QUIC Send Stream Management 2022-10-05 16:15:06 +02:00
unicode.h Fix a windows build break 2021-03-24 10:04:08 +10:00