mirror of
https://github.com/status-im/sqlcipher.git
synced 2025-02-23 17:28:17 +00:00
Only call FIPS_mode when compiled with SQLCIPHER_FIPS
This commit is contained in:
parent
eb94bb8747
commit
e44ce2ccd5
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user