diff options
| author | beck <> | 2024-04-10 14:51:02 +0000 |
|---|---|---|
| committer | beck <> | 2024-04-10 14:51:02 +0000 |
| commit | 8f5c098da9d2f4cfab60d5924c5dda86cf4709a2 (patch) | |
| tree | 1de2e3788fdb529f8ab9454147625167504e92c8 /src/lib/libcrypto/o_fips.c | |
| parent | c891b03850ff24679520e725b3b3c270d97b96e4 (diff) | |
| download | openbsd-8f5c098da9d2f4cfab60d5924c5dda86cf4709a2.tar.gz openbsd-8f5c098da9d2f4cfab60d5924c5dda86cf4709a2.tar.bz2 openbsd-8f5c098da9d2f4cfab60d5924c5dda86cf4709a2.zip | |
Finish Hiding symbols in crypto.h
crypto.h already had the symbols not hidden behind LIBRESSL_INTERNAL
hidden - This now picks up the reset of them marking them as
LCRYPTO_UNUSED, and removes the LIBRESSL_INTERNAL guard.
These symbols will now be hidden, but if we use them inside
the library in a namespaced build we will get a deprecation
warning. use outside the library will be as with any other hidden
symbol, so fine.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/o_fips.c')
| -rw-r--r-- | src/lib/libcrypto/o_fips.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/o_fips.c b/src/lib/libcrypto/o_fips.c index b1487e3be3..b0190b18e6 100644 --- a/src/lib/libcrypto/o_fips.c +++ b/src/lib/libcrypto/o_fips.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: o_fips.c,v 1.6 2021/10/23 13:57:00 schwarze Exp $ */ | 1 | /* $OpenBSD: o_fips.c,v 1.7 2024/04/10 14:51:02 beck Exp $ */ |
| 2 | /* Written by Stephen Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Stephen Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2011. | 3 | * project 2011. |
| 4 | */ | 4 | */ |
| @@ -65,6 +65,7 @@ FIPS_mode(void) | |||
| 65 | { | 65 | { |
| 66 | return 0; | 66 | return 0; |
| 67 | } | 67 | } |
| 68 | LCRYPTO_ALIAS(FIPS_mode); | ||
| 68 | 69 | ||
| 69 | int | 70 | int |
| 70 | FIPS_mode_set(int r) | 71 | FIPS_mode_set(int r) |
| @@ -74,3 +75,4 @@ FIPS_mode_set(int r) | |||
| 74 | CRYPTOerror(CRYPTO_R_FIPS_MODE_NOT_SUPPORTED); | 75 | CRYPTOerror(CRYPTO_R_FIPS_MODE_NOT_SUPPORTED); |
| 75 | return 0; | 76 | return 0; |
| 76 | } | 77 | } |
| 78 | LCRYPTO_ALIAS(FIPS_mode_set); | ||
