|
|
@ -33,6 +33,8 @@
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include "kopenssl.h"
|
|
|
|
#include "kopenssl.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define STRINGIFY(x) #x
|
|
|
|
|
|
|
|
|
|
|
|
#define GET_CRYPTOLIB_SYMBOL(a) ((_cryptoLib->hasSymbol(a)) ? _cryptoLib->symbol(a) : NULL)
|
|
|
|
#define GET_CRYPTOLIB_SYMBOL(a) ((_cryptoLib->hasSymbol(a)) ? _cryptoLib->symbol(a) : NULL)
|
|
|
|
#define GET_SSLLIB_SYMBOL(a) ((_sslLib->hasSymbol(a)) ? _sslLib->symbol(a) : NULL)
|
|
|
|
#define GET_SSLLIB_SYMBOL(a) ((_sslLib->hasSymbol(a)) ? _sslLib->symbol(a) : NULL)
|
|
|
|
|
|
|
|
|
|
|
@ -367,10 +369,14 @@ TDEConfig *cfg;
|
|
|
|
<< "libssl.dylib"
|
|
|
|
<< "libssl.dylib"
|
|
|
|
<< "libssl.0.9.dylib"
|
|
|
|
<< "libssl.0.9.dylib"
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
|
|
|
|
#ifdef OPENSSL_SHLIB_VERSION
|
|
|
|
|
|
|
|
<< "libssl.so." STRINGIFY(OPENSSL_SHLIB_VERSION)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#ifdef SHLIB_VERSION_NUMBER
|
|
|
|
#ifdef SHLIB_VERSION_NUMBER
|
|
|
|
<< "libssl.so." SHLIB_VERSION_NUMBER
|
|
|
|
<< "libssl.so." SHLIB_VERSION_NUMBER
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
<< "libssl.so"
|
|
|
|
<< "libssl.so"
|
|
|
|
|
|
|
|
<< "libssl.so.3"
|
|
|
|
<< "libssl.so.0"
|
|
|
|
<< "libssl.so.0"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
;
|
|
|
|
;
|
|
|
@ -384,10 +390,14 @@ TDEConfig *cfg;
|
|
|
|
<< "libcrypto.dylib"
|
|
|
|
<< "libcrypto.dylib"
|
|
|
|
<< "libcrypto.0.9.dylib"
|
|
|
|
<< "libcrypto.0.9.dylib"
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
|
|
|
|
#ifdef OPENSSL_SHLIB_VERSION
|
|
|
|
|
|
|
|
<< "libcrypto.so." STRINGIFY(OPENSSL_SHLIB_VERSION)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#ifdef SHLIB_VERSION_NUMBER
|
|
|
|
#ifdef SHLIB_VERSION_NUMBER
|
|
|
|
<< "libcrypto.so." SHLIB_VERSION_NUMBER
|
|
|
|
<< "libcrypto.so." SHLIB_VERSION_NUMBER
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
<< "libcrypto.so"
|
|
|
|
<< "libcrypto.so"
|
|
|
|
|
|
|
|
<< "libcrypto.so.3"
|
|
|
|
<< "libcrypto.so.0"
|
|
|
|
<< "libcrypto.so.0"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
;
|
|
|
|
;
|
|
|
|