mirror of
https://github.com/status-im/sqlcipher.git
synced 2026-08-31 06:21:07 +00:00
Only call FIPS_mode when compiled with SQLCIPHER_FIPS
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user