void-packages/srcpkgs/boinc/patches/fix-libressl-crypt_h.patch
2017-09-21 15:20:14 +02:00

11 lines
443 B
Diff

--- lib/crypt.h 2017-08-28 22:29:59.000000000 +0200
+++ lib/crypt.h 2017-09-21 15:15:32.882784075 +0200
@@ -26,7 +26,7 @@
#include <openssl/rsa.h>
-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) /* OpenSSL 1.1.0+ */
+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER) /* OpenSSL 1.1.0+ */
#define HAVE_OPAQUE_EVP_PKEY 1 /* since 1.1.0 -pre3 */
#define HAVE_OPAQUE_RSA_DSA_DH 1 /* since 1.1.0 -pre5 */
#endif