diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2021-10-23 09:13:52 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2021-10-23 09:13:52 +0000 |
commit | 14b2482ada88223c3e2d48cf5e00e21da6427fc9 (patch) | |
tree | 0279232f1712b6960d832f52c960fead3eab1363 /lib/libcrypto/crypto.h | |
parent | bc4f1c09667a018cc95cfef48e537baf11e9462e (diff) |
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 'lib/libcrypto/crypto.h')
-rw-r--r-- | lib/libcrypto/crypto.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libcrypto/crypto.h b/lib/libcrypto/crypto.h index 7de8abb437e..aba55560296 100644 --- a/lib/libcrypto/crypto.h +++ b/lib/libcrypto/crypto.h @@ -1,4 +1,4 @@ -/* $OpenBSD: crypto.h,v 1.50 2019/01/19 01:07:00 tb Exp $ */ +/* $OpenBSD: crypto.h,v 1.51 2021/10/23 09:13:51 beck Exp $ */ /* ==================================================================== * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. * @@ -505,6 +505,11 @@ uint64_t OPENSSL_cpu_caps(void); int OPENSSL_isservice(void); #ifndef LIBRESSL_INTERNAL +#if defined(LIBRESSL_NEW_API) +int FIPS_mode(void); +int FIPS_mode_set(int r); +#endif + void OPENSSL_init(void); /* CRYPTO_memcmp returns zero iff the |len| bytes at |a| and |b| are equal. It |