patch-src_libstrongswan_plugins_openssl_openssl_x_diffie_hellman_c 624 B

1234567891011
  1. --- strongswan-5.8.1.orig/src/libstrongswan/plugins/openssl/openssl_x_diffie_hellman.c 2018-12-14 16:48:24.000000000 +0100
  2. +++ strongswan-5.8.1/src/libstrongswan/plugins/openssl/openssl_x_diffie_hellman.c 2019-10-08 02:05:54.116867134 +0200
  3. @@ -17,7 +17,7 @@
  4. /* basic support for X25519 was added with 1.1.0a, but we require features (e.g.
  5. * to load the keys) that were only added with 1.1.1 */
  6. -#if OPENSSL_VERSION_NUMBER >= 0x1010100fL && !defined(OPENSSL_NO_ECDH)
  7. +#if OPENSSL_VERSION_NUMBER >= 0x1010100fL && !defined(OPENSSL_NO_ECDH) && !defined(LIBRESSL_VERSION_NUMBER)
  8. #include "openssl_x_diffie_hellman.h"