]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Follow up to r1874101: Axe useless LIBRESSL_VERSION_NUMBER check.
authorYann Ylavic <ylavic@apache.org>
Thu, 16 Nov 2023 14:58:52 +0000 (14:58 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 16 Nov 2023 14:58:52 +0000 (14:58 +0000)
Since the fix to MODSSL_USE_OPENSSL_PRE_1_1_API in r1908537, we are sure that
  !defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x2070000fL
in this block.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913838 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_private.h

index ea9ea5e56dfc8a99e1ebba3d91613489c4d6e35a..40510f688d90529905e4e6b96cb6efff010e2dd7 100644 (file)
 #define BN_get_rfc3526_prime_4096  get_rfc3526_prime_4096
 #define BN_get_rfc3526_prime_6144  get_rfc3526_prime_6144
 #define BN_get_rfc3526_prime_8192  get_rfc3526_prime_8192
-#if !defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x2070000fL
 #define BIO_set_init(x,v)          (x->init=v)
 #define BIO_get_data(x)            (x->ptr)
 #define BIO_set_data(x,v)          (x->ptr=v)
-#endif
 #define BIO_get_shutdown(x)        (x->shutdown)
 #define BIO_set_shutdown(x,v)      (x->shutdown=v)
 #define DH_bits(x)                 (BN_num_bits(x->p))