@@ -33,13 +33,10 @@ # define NO_IDEA # define NO_RC2 # define NO_RC4 # define NO_RC5 # define NO_RSA -# ifndef NO_SSL2 -# define NO_SSL2 -# endif #endif #include #include #include @@ -47,11 +44,11 @@ /* * Determine if we should use the pre-OpenSSL 1.1.0 API */ #undef TCLTLS_OPENSSL_PRE_1_1 -#if (defined(LIBRESSL_VERSION_NUMBER)) || OPENSSL_VERSION_NUMBER < 0x10100000L +#if defined(LIBRESSL_VERSION_NUMBER) # define TCLTLS_OPENSSL_PRE_1_1_API 1 #endif #ifndef ECONNABORTED #define ECONNABORTED 130 /* Software caused connection abort */