mirror of
https://github.com/status-im/sqlcipher.git
synced 2025-02-24 01:38:09 +00:00
Merge branch 'master' into ditto
This commit is contained in:
commit
7c6ac4010e
@ -71,9 +71,11 @@ typedef struct {
|
||||
} codec_ctx;
|
||||
|
||||
static void activate_openssl() {
|
||||
sqlite3_mutex_enter(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER));
|
||||
if(EVP_get_cipherbyname(CIPHER) == NULL) {
|
||||
OpenSSL_add_all_algorithms();
|
||||
}
|
||||
sqlite3_mutex_leave(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user