diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-02-09 16:30:31 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-02-09 16:30:31 +0100 |
commit | 1aff45d6fdfbc63a0256a831a8f8644a84708e9f (patch) | |
tree | d6d784212695471186f84e218566125337aca617 /debian/patches/fix-openssl-error.patch | |
parent | 6e3e95a9da9458ddf0874b4bd1c8ce6b47fcef27 (diff) |
some work on 2.5.4-1
Diffstat (limited to 'debian/patches/fix-openssl-error.patch')
-rw-r--r-- | debian/patches/fix-openssl-error.patch | 32 |
1 files changed, 15 insertions, 17 deletions
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."); + } |