Default crypto provider to OpenSSL

When no crypto provider has been specified, set the
SQLCIPHER_CRYPTO_OPENSSL flag.
This commit is contained in:
Nick Parker 2013-06-12 10:03:28 -05:00
parent a828432a72
commit 92cec1ccdd
1 changed files with 6 additions and 0 deletions

View File

@ -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