[Midnightbsd-cvs] mports [23636] trunk/security/openssl/files: add patches
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Jul 22 17:49:21 EDT 2018
Revision: 23636
http://svnweb.midnightbsd.org/mports/?rev=23636
Author: laffer1
Date: 2018-07-22 17:49:10 -0400 (Sun, 22 Jul 2018)
Log Message:
-----------
add patches
Added Paths:
-----------
trunk/security/openssl/files/extra-patch-test_testssl
trunk/security/openssl/files/patch-apps_s__client.c
Added: trunk/security/openssl/files/extra-patch-test_testssl
===================================================================
--- trunk/security/openssl/files/extra-patch-test_testssl (rev 0)
+++ trunk/security/openssl/files/extra-patch-test_testssl 2018-07-22 21:49:10 UTC (rev 23636)
@@ -0,0 +1,15 @@
+Disable SSLv3 test when built without SSL3 option disabled
+
+ - Test for weak DH fails when enabled
+
+--- test/testssl.orig 2017-04-27 12:23:44 UTC
++++ test/testssl
+@@ -160,7 +160,7 @@ test_cipher() {
+ }
+ set -x
+ echo "Testing ciphersuites"
+-for protocol in TLSv1.2 SSLv3; do
++for protocol in TLSv1.2; do
+ echo "Testing ciphersuites for $protocol"
+ for cipher in `../util/shlib_wrap.sh ../apps/openssl ciphers "RSA+$protocol" | tr ':' ' '`; do
+ test_cipher $cipher $protocol
Property changes on: trunk/security/openssl/files/extra-patch-test_testssl
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/openssl/files/patch-apps_s__client.c
===================================================================
--- trunk/security/openssl/files/patch-apps_s__client.c (rev 0)
+++ trunk/security/openssl/files/patch-apps_s__client.c 2018-07-22 21:49:10 UTC (rev 23636)
@@ -0,0 +1,22 @@
+From 4e48c77572a9a96a301e362a3646cd3cc7eca0f9 Mon Sep 17 00:00:00 2001
+From: Carlos Alberto Lopez Perez <clopez at igalia.com>
+Date: Mon, 6 Aug 2012 01:45:51 +0200
+Subject: [PATCH] Fix XMPP code detection on s_client starttls xmpp
+
+ * Some XMPP Servers (OpenFire) use double quotes.
+ * This makes s_client starttls work with this servers.
+ * Tested with OpenFire servers from http://xmpp.net/ ::
+
+ openssl s_client -connect coderollers.com:5222 -starttls xmpp
+--- apps/s_client.c.orig 2017-05-25 12:54:38 UTC
++++ apps/s_client.c
+@@ -1663,7 +1663,8 @@ int MAIN(int argc, char **argv)
+ seen = BIO_read(sbio, mbuf, BUFSIZZ);
+ mbuf[seen] = 0;
+ while (!strstr
+- (mbuf, "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'")) {
++ (mbuf, "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'") &&
++ !strstr(mbuf, "<starttls xmlns=\"urn:ietf:params:xml:ns:xmpp-tls\"")) {
+ if (strstr(mbuf, "/stream:features>"))
+ goto shut;
+ seen = BIO_read(sbio, mbuf, BUFSIZZ);
Property changes on: trunk/security/openssl/files/patch-apps_s__client.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list