opnsense-ports/security/libressl/files/patch-include_openssl_opensslv.h
2019-06-10 16:56:21 +02:00

14 lines
467 B
C

--- include/openssl/opensslv.h.orig 2019-05-13 13:16:18 UTC
+++ include/openssl/opensslv.h
@@ -8,7 +8,11 @@
#define LIBRESSL_VERSION_TEXT "LibreSSL 2.9.2"
/* These will never change */
+#ifndef OPENSSL_IS_LIBRESSL
#define OPENSSL_VERSION_NUMBER 0x20000000L
+#else
+#define OPENSSL_VERSION_NUMBER 0x1000107fL
+#endif /* OPENSSL_IS_LIBRESSL */
#define OPENSSL_VERSION_TEXT LIBRESSL_VERSION_TEXT
#define OPENSSL_VERSION_PTEXT " part of " OPENSSL_VERSION_TEXT