diff options
author | beck <> | 2021-10-23 09:13:51 +0000 |
---|---|---|
committer | beck <> | 2021-10-23 09:13:51 +0000 |
commit | 64138904c3f088bafa171c1f6375dba75080079e (patch) | |
tree | 3ffdaff75f00ed63911fb2fa9dc0ac6f6da2aec7 /src/lib/libcrypto/crypto.h | |
parent | 3781592d1cd8ce107960abb543e4eccf20288a82 (diff) | |
download | openbsd-64138904c3f088bafa171c1f6375dba75080079e.tar.gz openbsd-64138904c3f088bafa171c1f6375dba75080079e.tar.bz2 openbsd-64138904c3f088bafa171c1f6375dba75080079e.zip |
Add back the fips mode test functions, new stuff requires this.
Symbols.list changes to follow with tb's upcoming bump
ok jsing@
Diffstat (limited to 'src/lib/libcrypto/crypto.h')
-rw-r--r-- | src/lib/libcrypto/crypto.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/crypto.h b/src/lib/libcrypto/crypto.h index 7de8abb437..aba5556029 100644 --- a/src/lib/libcrypto/crypto.h +++ b/src/lib/libcrypto/crypto.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: crypto.h,v 1.50 2019/01/19 01:07:00 tb Exp $ */ | 1 | /* $OpenBSD: crypto.h,v 1.51 2021/10/23 09:13:51 beck Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -505,6 +505,11 @@ uint64_t OPENSSL_cpu_caps(void); | |||
505 | int OPENSSL_isservice(void); | 505 | int OPENSSL_isservice(void); |
506 | 506 | ||
507 | #ifndef LIBRESSL_INTERNAL | 507 | #ifndef LIBRESSL_INTERNAL |
508 | #if defined(LIBRESSL_NEW_API) | ||
509 | int FIPS_mode(void); | ||
510 | int FIPS_mode_set(int r); | ||
511 | #endif | ||
512 | |||
508 | void OPENSSL_init(void); | 513 | void OPENSSL_init(void); |
509 | 514 | ||
510 | /* CRYPTO_memcmp returns zero iff the |len| bytes at |a| and |b| are equal. It | 515 | /* CRYPTO_memcmp returns zero iff the |len| bytes at |a| and |b| are equal. It |