Add the original source packages to maemo, source lenny
[dh-make-perl] / dev / i386 / libio-socket-ssl-perl / libio-socket-ssl-perl-1.16 / patches / Net_SSLeay.patch
diff --git a/dev/i386/libio-socket-ssl-perl/libio-socket-ssl-perl-1.16/patches/Net_SSLeay.patch b/dev/i386/libio-socket-ssl-perl/libio-socket-ssl-perl-1.16/patches/Net_SSLeay.patch
new file mode 100644 (file)
index 0000000..2048929
--- /dev/null
@@ -0,0 +1,47 @@
+diff -ur Net_SSLeay.pm-1.25/Changes Net_SSLeay.pm-1.26/Changes
+--- Net_SSLeay.pm-1.25/Changes 2003-08-18 18:21:34.000000000 -0400
++++ Net_SSLeay.pm-1.26/Changes 2004-04-30 09:26:55.867943242 -0400
+@@ -181,5 +181,8 @@
+         - added tcpecho.pl and tcpcat.pl to MANIFEST
+         - fixed some further bugs with TCP read all, etc.
+         - fixed some const char pointer warnings
++(1.26)** 30.4.2004
++      - added get1_session()
++**Unofficial release
+ #EOF
+\ No newline at end of file
+diff -ur Net_SSLeay.pm-1.25/SSLeay.pm Net_SSLeay.pm-1.26/SSLeay.pm
+--- Net_SSLeay.pm-1.25/SSLeay.pm       2003-08-17 11:24:32.000000000 -0400
++++ Net_SSLeay.pm-1.26/SSLeay.pm       2004-04-30 09:25:45.784379547 -0400
+@@ -43,6 +43,7 @@
+ #            Kim Minh Kaplan <kmkaplan@selfoffice._com>
+ # 17.8.2003, added http support :-) --Sampo
+ # 17.8.2003, started 1.25 dev --Sampo
++# 30.4.2004, added get1_session() for IO::Socket::SSL session caching; --Peter
+ #
+ # The distribution and use of this module are subject to the conditions
+ # listed in LICENSE file at the root of OpenSSL-0.9.7b
+@@ -98,7 +99,7 @@
+ $Net::SSLeay::random_device = '/dev/urandom';
+ $Net::SSLeay::how_random = 512;
+-$VERSION = '1.25';
++$VERSION = '1.26';
+ @ISA = qw(Exporter DynaLoader);
+ @EXPORT_OK = qw(
+       AT_MD5_WITH_RSA_ENCRYPTION
+diff -ur Net_SSLeay.pm-1.25/SSLeay.xs Net_SSLeay.pm-1.26/SSLeay.xs
+--- Net_SSLeay.pm-1.25/SSLeay.xs       2003-08-18 18:21:08.000000000 -0400
++++ Net_SSLeay.pm-1.26/SSLeay.xs       2004-04-30 09:23:36.417797931 -0400
+@@ -2189,6 +2189,10 @@
+ SSL_get_session(s)
+      SSL *              s
++SSL_SESSION *
++SSL_get1_session(s)
++     SSL *              s
++
+ X509 *
+ SSL_get_certificate(s)
+      SSL *              s