[Pkg-ocaml-maint-commits] [SCM] ocaml-ssl packaging branch, master, updated. debian/0.4.4-1-3-g9086362

Stephane Glondu steph at glondu.net
Mon Apr 11 21:28:51 UTC 2011


The following commit has been merged in the master branch:
commit 3cb00cd475c128919c9cd3251524b64adbb6ac84
Author: Stephane Glondu <steph at glondu.net>
Date:   Mon Apr 11 23:04:01 2011 +0200

    Drop SSLv2 support (Closes: #622144)

diff --git a/debian/patches/0001-Drop-SSLv2-support.patch b/debian/patches/0001-Drop-SSLv2-support.patch
new file mode 100644
index 0000000..a198646
--- /dev/null
+++ b/debian/patches/0001-Drop-SSLv2-support.patch
@@ -0,0 +1,39 @@
+From: Stephane Glondu <steph at glondu.net>
+Date: Mon, 11 Apr 2011 23:01:54 +0200
+Subject: [PATCH] Drop SSLv2 support
+
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622144
+Signed-off-by: Stephane Glondu <steph at glondu.net>
+---
+ src/ssl_stubs.c |   17 -----------------
+ 1 files changed, 0 insertions(+), 17 deletions(-)
+
+diff --git a/src/ssl_stubs.c b/src/ssl_stubs.c
+index 995ca99..09c173b 100644
+--- a/src/ssl_stubs.c
++++ b/src/ssl_stubs.c
+@@ -157,23 +157,6 @@ static SSL_METHOD *get_method(int protocol, int type)
+   caml_enter_blocking_section();
+   switch (protocol)
+   {
+-    case 0:
+-      switch (type)
+-      {
+-        case 0:
+-          method = SSLv2_client_method();
+-          break;
+-
+-        case 1:
+-          method = SSLv2_server_method();
+-          break;
+-
+-        case 2:
+-          method = SSLv2_method();
+-          break;
+-      }
+-      break;
+-
+     case 1:
+       switch (type)
+       {
+-- 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..202e83a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Drop-SSLv2-support.patch

-- 
ocaml-ssl packaging



More information about the Pkg-ocaml-maint-commits mailing list