diff options
Diffstat (limited to 'src/lib/libcrypto/crypto.h')
| -rw-r--r-- | src/lib/libcrypto/crypto.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/crypto.h b/src/lib/libcrypto/crypto.h index 22fd939e65..4d1dfac7f1 100644 --- a/src/lib/libcrypto/crypto.h +++ b/src/lib/libcrypto/crypto.h | |||
| @@ -434,9 +434,12 @@ void CRYPTO_mem_leaks_cb(CRYPTO_MEM_LEAK_CB *cb); | |||
| 434 | 434 | ||
| 435 | /* die if we have to */ | 435 | /* die if we have to */ |
| 436 | void OpenSSLDie(const char *file,int line,const char *assertion); | 436 | void OpenSSLDie(const char *file,int line,const char *assertion); |
| 437 | #define OPENSSL_assert(e) (void)((e) ? 0 : (OpenSSLDie(__FILE__, __LINE__, #e),1)) | 437 | #define OPENSSL_assert(e) ((e) ? (void)0 : OpenSSLDie(__FILE__, __LINE__, #e)) |
| 438 | 438 | ||
| 439 | #ifdef OPENSSL_FIPS | 439 | #ifdef OPENSSL_FIPS |
| 440 | int FIPS_mode(void); | ||
| 441 | void *FIPS_rand_check(void); | ||
| 442 | |||
| 440 | #define FIPS_ERROR_IGNORED(alg) OpenSSLDie(__FILE__, __LINE__, \ | 443 | #define FIPS_ERROR_IGNORED(alg) OpenSSLDie(__FILE__, __LINE__, \ |
| 441 | alg " previous FIPS forbidden algorithm error ignored"); | 444 | alg " previous FIPS forbidden algorithm error ignored"); |
| 442 | 445 | ||
