diff options
| author | beck <> | 2024-04-10 14:58:06 +0000 |
|---|---|---|
| committer | beck <> | 2024-04-10 14:58:06 +0000 |
| commit | c1002fc07c1599164ea7518630da25bd606c9993 (patch) | |
| tree | b5de088ad24e4c81c5ef75f7dff9b4e16970e5e1 /src/lib/libcrypto/hidden | |
| parent | 3eff1e603938779d82a28fbd00dfe96a396d64b6 (diff) | |
| download | openbsd-c1002fc07c1599164ea7518630da25bd606c9993.tar.gz openbsd-c1002fc07c1599164ea7518630da25bd606c9993.tar.bz2 openbsd-c1002fc07c1599164ea7518630da25bd606c9993.zip | |
Hide symbols in bn.h
Mark them LCRYPTO_UNUSED appropriately and remove the LIBRESSL_INTERNAL
guards around them
ok tb@
Diffstat (limited to 'src/lib/libcrypto/hidden')
| -rw-r--r-- | src/lib/libcrypto/hidden/openssl/bn.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/bn.h b/src/lib/libcrypto/hidden/openssl/bn.h index f6f00cf766..af3465c790 100644 --- a/src/lib/libcrypto/hidden/openssl/bn.h +++ b/src/lib/libcrypto/hidden/openssl/bn.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bn.h,v 1.6 2024/03/02 09:27:31 tb Exp $ */ | 1 | /* $OpenBSD: bn.h,v 1.7 2024/04/10 14:58:06 beck Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> |
| 4 | * | 4 | * |
| @@ -136,5 +136,10 @@ LCRYPTO_USED(BN_get_rfc3526_prime_4096); | |||
| 136 | LCRYPTO_USED(BN_get_rfc3526_prime_6144); | 136 | LCRYPTO_USED(BN_get_rfc3526_prime_6144); |
| 137 | LCRYPTO_USED(BN_get_rfc3526_prime_8192); | 137 | LCRYPTO_USED(BN_get_rfc3526_prime_8192); |
| 138 | LCRYPTO_USED(ERR_load_BN_strings); | 138 | LCRYPTO_USED(ERR_load_BN_strings); |
| 139 | LCRYPTO_UNUSED(BN_div); | ||
| 140 | LCRYPTO_UNUSED(BN_mod_exp); | ||
| 141 | LCRYPTO_UNUSED(BN_mod_exp_mont); | ||
| 142 | LCRYPTO_UNUSED(BN_gcd); | ||
| 143 | LCRYPTO_UNUSED(BN_mod_inverse); | ||
| 139 | 144 | ||
| 140 | #endif /* _LIBCRYPTO_BN_H */ | 145 | #endif /* _LIBCRYPTO_BN_H */ |
