diff --git a/src/crypto_openssl.c b/src/crypto_openssl.c index 7b82de0..66553a0 100644 --- a/src/crypto_openssl.c +++ b/src/crypto_openssl.c @@ -233,7 +233,11 @@ static int sqlcipher_openssl_ctx_free(void **ctx) { } static int sqlcipher_openssl_fips_status(void *ctx) { +#ifdef SQLCIPHER_FIPS return FIPS_mode(); +#else + return 0; +#endif } int sqlcipher_openssl_setup(sqlcipher_provider *p) {