diff options
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 1be1bc1a2f..789c1fb6b7 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -63,28 +63,14 @@ const char crypto_c_id[] = #if OPENSSL_VERSION_NUMBER < 0x00905000l #error "We require openssl >= 0.9.5" -#elif OPENSSL_VERSION_NUMBER < 0x00906000l -#define OPENSSL_095 #endif #if OPENSSL_VERSION_NUMBER < 0x00907000l -#define OPENSSL_PRE_097 #define NO_ENGINES #else #include <openssl/engine.h> #endif -/* Certain functions that return a success code in OpenSSL 0.9.6 return void - * (and don't indicate errors) in OpenSSL version 0.9.5. - * - * [OpenSSL 0.9.5 matters, because it ships with Redhat 6.2.] - */ -#ifdef OPENSSL_095 -#define RETURN_SSL_OUTCOME(exp) (exp); return 0 -#else -#define RETURN_SSL_OUTCOME(exp) return !(exp) -#endif - /** Macro: is k a valid RSA public or private key? */ #define PUBLIC_KEY_OK(k) ((k) && (k)->key && (k)->key->n) /** Macro: is k a valid RSA private key? */ |