diff options
author | tb <> | 2024-03-01 07:38:33 +0000 |
---|---|---|
committer | tb <> | 2024-03-01 07:38:33 +0000 |
commit | 245fea5e3816a266f8a4d57c27c1a8eae49ef975 (patch) | |
tree | 2daf785cd5593f59001b196dc854c4a7d2df92ee /src/lib | |
parent | 4188642b9f3d739c69124a6dbdf3ad506fab64f1 (diff) | |
download | openbsd-245fea5e3816a266f8a4d57c27c1a8eae49ef975.tar.gz openbsd-245fea5e3816a266f8a4d57c27c1a8eae49ef975.tar.bz2 openbsd-245fea5e3816a266f8a4d57c27c1a8eae49ef975.zip |
Fix OPENSSL_{gmtime,timegm} in namespace build
These were incorrectly added to asn1.h. OPENSSL_gmtime is in crypto.h
and OPENSSL_timegm is already in posix_time.h
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/hidden/openssl/asn1.h | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/hidden/openssl/crypto.h | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/asn1.h b/src/lib/libcrypto/hidden/openssl/asn1.h index 11db7b9902..63852d1e67 100644 --- a/src/lib/libcrypto/hidden/openssl/asn1.h +++ b/src/lib/libcrypto/hidden/openssl/asn1.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1.h,v 1.7 2023/11/13 12:46:07 beck Exp $ */ | 1 | /* $OpenBSD: asn1.h,v 1.8 2024/03/01 07:38:33 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -249,7 +249,5 @@ LCRYPTO_USED(SMIME_text); | |||
249 | LCRYPTO_USED(ERR_load_ASN1_strings); | 249 | LCRYPTO_USED(ERR_load_ASN1_strings); |
250 | LCRYPTO_USED(ASN1_time_parse); | 250 | LCRYPTO_USED(ASN1_time_parse); |
251 | LCRYPTO_USED(ASN1_time_tm_cmp); | 251 | LCRYPTO_USED(ASN1_time_tm_cmp); |
252 | LCRYPTO_USED(OPENSSL_gmtime); | ||
253 | LCRYPTO_USED(OPENSSL_timegm); | ||
254 | 252 | ||
255 | #endif /* _LIBCRYPTO_ASN1_H */ | 253 | #endif /* _LIBCRYPTO_ASN1_H */ |
diff --git a/src/lib/libcrypto/hidden/openssl/crypto.h b/src/lib/libcrypto/hidden/openssl/crypto.h index dc0b7a02b1..083d156d14 100644 --- a/src/lib/libcrypto/hidden/openssl/crypto.h +++ b/src/lib/libcrypto/hidden/openssl/crypto.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: crypto.h,v 1.2 2023/07/28 10:19:20 tb Exp $ */ | 1 | /* $OpenBSD: crypto.h,v 1.3 2024/03/01 07:38:33 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -71,6 +71,7 @@ LCRYPTO_USED(OpenSSLDie); | |||
71 | LCRYPTO_USED(OPENSSL_cpu_caps); | 71 | LCRYPTO_USED(OPENSSL_cpu_caps); |
72 | LCRYPTO_USED(OPENSSL_init_crypto); | 72 | LCRYPTO_USED(OPENSSL_init_crypto); |
73 | LCRYPTO_USED(OPENSSL_cleanup); | 73 | LCRYPTO_USED(OPENSSL_cleanup); |
74 | LCRYPTO_USED(OPENSSL_gmtime); | ||
74 | LCRYPTO_USED(ERR_load_CRYPTO_strings); | 75 | LCRYPTO_USED(ERR_load_CRYPTO_strings); |
75 | 76 | ||
76 | #endif /* _LIBCRYPTO_CRYPTO_H */ | 77 | #endif /* _LIBCRYPTO_CRYPTO_H */ |