4 #if defined(_WITH_ENCRYPTION) && !defined(ORA_PROC)
8 #include <openssl/crypto.h>
9 #include <openssl/rsa.h>
10 #include <openssl/pem.h>
11 #include <openssl/evp.h>
12 #include <openssl/rand.h>
13 #include <openssl/opensslv.h>
14 #include <openssl/err.h>
17 #ifndef OPENSSL_NO_AES
18 #define OPENSSL_NO_AES
29 #ifndef OPENSSL_NO_IDEA
30 #define OPENSSL_NO_IDEA
35 #ifndef OPENSSL_NO_DES
36 #define OPENSSL_NO_DES
40 #if OPENSSL_VERSION_NUMBER >= 0x00907000
41 #define OPENSSL_CONST const
46 #elif WITH_COMMONCRYPTO
48 #include <CommonCrypto/CommonCrypto.h>
49 #include <Security/SecBase.h>
50 #include <Security/SecKey.h>
60 #else /* no encryption */
62 // Prevent compilation errors on function prototypes