time: add some additional utilities and document everything
authorPauli <pauli@openssl.org>
Mon, 29 Aug 2022 03:41:26 +0000 (13:41 +1000)
committerPauli <pauli@openssl.org>
Tue, 13 Sep 2022 11:13:22 +0000 (21:13 +1000)
commit364c3b7b1ac3172dbe2108be23ae215b86ef8e08
treed2d87ae42bd6733fe634ebff37be069277022922
parentee68d2b957923e2e4d1d76d7ad66e0e8b3674d71
time: add some additional utilities and document everything

Some of the recently added functions were not documents.  This has been addressed.
Also added utility functions for conversions between time_t, seconds and struct timeval
to/from OSSL_TIME.

Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19082)
doc/internal/man3/OSSL_TIME.pod
include/internal/time.h
ssl/time.c