From 1aff45d6fdfbc63a0256a831a8f8644a84708e9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 9 Feb 2022 16:30:31 +0100 Subject: some work on 2.5.4-1 --- debian/patches/fix-openssl-error.patch | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) (limited to 'debian/patches/fix-openssl-error.patch') diff --git a/debian/patches/fix-openssl-error.patch b/debian/patches/fix-openssl-error.patch index 566d7e6..db035ad 100644 --- a/debian/patches/fix-openssl-error.patch +++ b/debian/patches/fix-openssl-error.patch @@ -19,13 +19,13 @@ situation (this also clears the stack). src/openvpn/ssl_openssl.c | 10 ++++++++++ 1 file changed, 10 insertions(+) -diff --git a/src/openvpn/ssl_openssl.c b/src/openvpn/ssl_openssl.c -index 5955c6bd..555cbbdf 100644 ---- a/src/openvpn/ssl_openssl.c -+++ b/src/openvpn/ssl_openssl.c -@@ -115,6 +115,11 @@ tls_ctx_server_new(struct tls_root_ctx *ctx) - { - crypto_msg(M_FATAL, "SSL_CTX_new SSLv23_server_method"); +Index: trunk/src/openvpn/ssl_openssl.c +=================================================================== +--- trunk.orig/src/openvpn/ssl_openssl.c ++++ trunk/src/openvpn/ssl_openssl.c +@@ -120,6 +120,11 @@ tls_ctx_server_new(struct tls_root_ctx * + crypto_msg(M_WARN, "Warning: TLS server context initialisation " + "has warnings."); } + if (ERR_peek_error() != 0) + { @@ -35,17 +35,15 @@ index 5955c6bd..555cbbdf 100644 } void -@@ -128,6 +133,11 @@ tls_ctx_client_new(struct tls_root_ctx *ctx) - { - crypto_msg(M_FATAL, "SSL_CTX_new SSLv23_client_method"); +@@ -135,6 +140,11 @@ tls_ctx_client_new(struct tls_root_ctx * } -+ if (ERR_peek_error() != 0) -+ { + if (ERR_peek_error() != 0) + { + crypto_msg(M_WARN, "Warning: TLS client context initialisation " + "has warnings."); + } - } - - void --- -2.26.0 ++ if (ERR_peek_error() != 0) ++ { + crypto_msg(M_WARN, "Warning: TLS client context initialisation " + "has warnings."); + } -- cgit v1.2.3