summaryrefslogtreecommitdiff
path: root/debian/patches/fix-openssl-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/fix-openssl-error.patch')
-rw-r--r--debian/patches/fix-openssl-error.patch32
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.");
+ }