Use OSSL_TIME instead of using arithmetic directly on time_t
authorMatt Caswell <matt@openssl.org>
Mon, 25 Mar 2024 11:53:35 +0000 (11:53 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 1 May 2024 07:51:28 +0000 (08:51 +0100)
commitafb6ce0d0f5b8e88f8b4f420aba0a8e59f58934f
treebc3e64befb246010f188e5b9d8b6ab9185789f6a
parentaf75373eeab6040aba243dd7629fb6f8244f2f5d
Use OSSL_TIME instead of using arithmetic directly on time_t

We have functions for adding/subtracting time. We should use them.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23966)
test/sslapitest.c