Default crypto provider to OpenSSL
When no crypto provider has been specified, set the SQLCIPHER_CRYPTO_OPENSSL flag.
This commit is contained in:
parent
a828432a72
commit
92cec1ccdd
|
@ -35,6 +35,12 @@
|
|||
#ifndef CRYPTO_H
|
||||
#define CRYPTO_H
|
||||
|
||||
#if !defined (SQLCIPHER_CRYPTO_CC) \
|
||||
&& !defined(SQLCIPHER_CRYPTO_LIBTOMCRYPT) \
|
||||
&& !defined(SQLCIPHER_CRYPTO_OPENSSL)
|
||||
#define SQLCIPHER_CRYPTO_OPENSSL
|
||||
#endif
|
||||
|
||||
#define FILE_HEADER_SZ 16
|
||||
|
||||
#ifndef CIPHER_VERSION
|
||||
|
|
Loading…
Reference in New Issue