[Pkg-openssl-changes] r927 - in openssl/branches/openssl1.0/debian: . patches

Kurt Roeckx kroeckx at moszumanska.debian.org
Thu Nov 2 18:01:25 UTC 2017


Author: kroeckx
Date: 2017-11-02 18:01:25 +0000 (Thu, 02 Nov 2017)
New Revision: 927

Added:
   openssl/branches/openssl1.0/debian/patches/0001-Fix-no-ssl3-build.patch
Modified:
   openssl/branches/openssl1.0/debian/changelog
   openssl/branches/openssl1.0/debian/patches/series
Log:
Fix build


Modified: openssl/branches/openssl1.0/debian/changelog
===================================================================
--- openssl/branches/openssl1.0/debian/changelog	2017-11-02 17:34:48 UTC (rev 926)
+++ openssl/branches/openssl1.0/debian/changelog	2017-11-02 18:01:25 UTC (rev 927)
@@ -1,3 +1,9 @@
+openssl1.0 (1.0.2m-2) unstable; urgency=medium
+
+  * Fix no-ssl3-method build
+
+ -- Kurt Roeckx <kurt at roeckx.be>  Thu, 02 Nov 2017 19:00:50 +0100
+
 openssl1.0 (1.0.2m-1) unstable; urgency=high
 
   [ Kurt Roeckx ]

Added: openssl/branches/openssl1.0/debian/patches/0001-Fix-no-ssl3-build.patch
===================================================================
--- openssl/branches/openssl1.0/debian/patches/0001-Fix-no-ssl3-build.patch	                        (rev 0)
+++ openssl/branches/openssl1.0/debian/patches/0001-Fix-no-ssl3-build.patch	2017-11-02 18:01:25 UTC (rev 927)
@@ -0,0 +1,29 @@
+From 47b85afb0e8274573c2b2472058ea4340c91e3b4 Mon Sep 17 00:00:00 2001
+From: Kurt Roeckx <kurt at roeckx.be>
+Date: Thu, 2 Nov 2017 18:53:16 +0100
+Subject: [PATCH] Fix no-ssl3 build
+
+---
+ ssl/s23_clnt.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/ssl/s23_clnt.c b/ssl/s23_clnt.c
+index 92f41dd549..05b892b723 100644
+--- a/ssl/s23_clnt.c
++++ b/ssl/s23_clnt.c
+@@ -757,10 +757,12 @@ static int ssl23_get_server_hello(SSL *s)
+                 s->version = TLS1_VERSION;
+                 s->method = TLSv1_client_method();
+                 break;
++#ifndef OPENSSL_NO_SSL3_METHOD
+             case SSL3_VERSION:
+                 s->version = SSL3_VERSION;
+                 s->method = SSLv3_client_method();
+                 break;
++#endif
+             }
+             SSLerr(SSL_F_SSL23_GET_SERVER_HELLO, SSL_R_UNSUPPORTED_PROTOCOL);
+             ssl3_send_alert(s, SSL3_AL_FATAL, SSL_AD_PROTOCOL_VERSION);
+-- 
+2.14.2
+

Modified: openssl/branches/openssl1.0/debian/patches/series
===================================================================
--- openssl/branches/openssl1.0/debian/patches/series	2017-11-02 17:34:48 UTC (rev 926)
+++ openssl/branches/openssl1.0/debian/patches/series	2017-11-02 18:01:25 UTC (rev 927)
@@ -18,3 +18,4 @@
 disable_sslv3_test.patch
 libdoc-manpgs-pod-spell.patch
 Mark-3DES-and-RC4-ciphers-as-weak.patch
+0001-Fix-no-ssl3-build.patch




More information about the Pkg-openssl-changes mailing list