openssl/include
Matt Caswell c239bc9e96 Round up nano secs when converting OSSL_TIME to struct timeval
struct timeval doesn't support nanosecs but OSSL_TIME does. We round up
any nanosecs to ensure that a non-zero input always results in a non-zero
output.

This fixes a quic-client fuzzer hang.

Fixes #22437

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22440)
2023-10-20 16:33:40 +01:00
..
crypto rand: add callbacks to cleanup the user entropy resp. nonce 2023-10-20 09:48:34 +01:00
internal Round up nano secs when converting OSSL_TIME to struct timeval 2023-10-20 16:33:40 +01:00
openssl rand: add callbacks to cleanup the user entropy resp. nonce 2023-10-20 09:48:34 +01:00