diff options
| author | tb <> | 2024-02-18 16:28:38 +0000 |
|---|---|---|
| committer | tb <> | 2024-02-18 16:28:38 +0000 |
| commit | 9b6fdece880dc96473b19c7044c2996ec2371e53 (patch) | |
| tree | 6a60bd14d56bf5ac3d9034a6b7ba3be4736b59dd /src/lib/libcrypto/Symbols.namespace | |
| parent | f63cb33bf7e29ee6ba85dbeb12a51f1fba4bab1e (diff) | |
| download | openbsd-9b6fdece880dc96473b19c7044c2996ec2371e53.tar.gz openbsd-9b6fdece880dc96473b19c7044c2996ec2371e53.tar.bz2 openbsd-9b6fdece880dc96473b19c7044c2996ec2371e53.zip | |
Add posix_time.h from BoringSSL
This is prepares to expose some internal API as OPENSSL_tm_to_posix() and
OPENSSL_posix_to_tm(). They will be used in libtls and ocspcheck(8) to get
rid of the portability nightmare that is timegm().
Also fix the location of OPENSSL_gmtime() and OPENSSL_timegm() (this API
is not yet exposed). The former is from OpenSSL and surprisingly lives in
crypto.h, not asn1.h, and the latter is BoringSSL API and lives in the new
posix_time.h.
Initial diff from beck, this pulls in further upstream work after review
feedback.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/Symbols.namespace')
| -rw-r--r-- | src/lib/libcrypto/Symbols.namespace | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/libcrypto/Symbols.namespace b/src/lib/libcrypto/Symbols.namespace index 08f070e79c..62d6b5a3ad 100644 --- a/src/lib/libcrypto/Symbols.namespace +++ b/src/lib/libcrypto/Symbols.namespace | |||
| @@ -2645,3 +2645,7 @@ _libre_i2d_DHparams | |||
| 2645 | _libre_DHparams_print_fp | 2645 | _libre_DHparams_print_fp |
| 2646 | _libre_DHparams_print | 2646 | _libre_DHparams_print |
| 2647 | _libre_ERR_load_DH_strings | 2647 | _libre_ERR_load_DH_strings |
| 2648 | _libre_OPENSSL_gmtime | ||
| 2649 | _libre_OPENSSL_timegm | ||
| 2650 | _libre_OPENSSL_posix_to_tm | ||
| 2651 | _libre_OPENSSL_tm_to_posix | ||
