Remove Windows specific LIBRESSL_VERSION_NUMBER patches.
ok jca sthen
This commit is contained in:
parent
20b6f63717
commit
b1f2ce92a0
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-include_ssl_applink_c,v 1.1 2017/03/27 11:33:40 bluhm Exp $
|
||||
--- include/ssl_applink.c.orig Thu Mar 23 21:54:28 2017
|
||||
+++ include/ssl_applink.c Thu Mar 23 21:55:47 2017
|
||||
@@ -14,7 +14,7 @@
|
||||
# include "msvc_ssl_autolib.h"
|
||||
# endif
|
||||
# endif
|
||||
-# if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
+# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
# include <openssl/applink.c>
|
||||
# endif
|
||||
# ifdef _MSC_VER
|
||||
@@ -41,7 +41,7 @@ void ssl_applink(void);
|
||||
void
|
||||
ssl_applink(void)
|
||||
{
|
||||
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && ! defined(LIBRESSL_VERSION_NUMBER)
|
||||
# ifdef WRAP_DBG_MALLOC
|
||||
CRYPTO_set_mem_functions(wrap_dbg_malloc, wrap_dbg_realloc, wrap_dbg_free_ex);
|
||||
# else
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-ports_winnt_include_msvc_ssl_autolib_h,v 1.1 2017/03/27 11:33:40 bluhm Exp $
|
||||
--- ports/winnt/include/msvc_ssl_autolib.h.orig Thu Mar 23 22:03:03 2017
|
||||
+++ ports/winnt/include/msvc_ssl_autolib.h Thu Mar 23 22:17:23 2017
|
||||
@@ -85,7 +85,7 @@
|
||||
* request in the object file, depending on the SSL version and the
|
||||
* build variant.
|
||||
*/
|
||||
-# if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
+# if OPENSSL_VERSION_NUMBER >= 0x10100000L && ! defined(LIBRESSL_VERSION_NUMBER)
|
||||
# pragma comment(lib, "libcrypto" LTAG_SIZE LTAG_RTLIB LTAG_DEBUG ".lib")
|
||||
# else
|
||||
# pragma comment(lib, "libeay32" LTAG_RTLIB LTAG_DEBUG ".lib")
|
Loading…
x
Reference in New Issue
Block a user