diff --git a/src/crypto.h b/src/crypto.h index f71f532c..39924f77 100644 --- a/src/crypto.h +++ b/src/crypto.h @@ -36,8 +36,8 @@ #define CRYPTO_H #if !defined (SQLCIPHER_CRYPTO_CC) \ - && !defined(SQLCIPHER_CRYPTO_LIBTOMCRYPT) \ - && !defined(SQLCIPHER_CRYPTO_OPENSSL) + && !defined (SQLCIPHER_CRYPTO_LIBTOMCRYPT) \ + && !defined (SQLCIPHER_CRYPTO_OPENSSL) #define SQLCIPHER_CRYPTO_OPENSSL #endif diff --git a/src/crypto_impl.c b/src/crypto_impl.c index a58927c7..0b2812dc 100644 --- a/src/crypto_impl.c +++ b/src/crypto_impl.c @@ -95,10 +95,10 @@ void sqlcipher_activate() { #if defined (SQLCIPHER_CRYPTO_CC) extern int sqlcipher_cc_setup(sqlcipher_provider *p); sqlcipher_cc_setup(p); -#elif SQLCIPHER_CRYPTO_LIBTOMCRYPT +#elif defined (SQLCIPHER_CRYPTO_LIBTOMCRYPT) extern int sqlcipher_ltc_setup(sqlcipher_provider *p); sqlcipher_ltc_setup(p); -#elif SQLCIPHER_CRYPTO_OPENSSL +#elif defined (SQLCIPHER_CRYPTO_OPENSSL) extern int sqlcipher_openssl_setup(sqlcipher_provider *p); sqlcipher_openssl_setup(p); #else