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
1 diff -ur Net_SSLeay.pm-1.25/Changes Net_SSLeay.pm-1.26/Changes
2 --- Net_SSLeay.pm-1.25/Changes  2003-08-18 18:21:34.000000000 -0400
3 +++ Net_SSLeay.pm-1.26/Changes  2004-04-30 09:26:55.867943242 -0400
4 @@ -181,5 +181,8 @@
5          - added tcpecho.pl and tcpcat.pl to MANIFEST
6          - fixed some further bugs with TCP read all, etc.
7          - fixed some const char pointer warnings
8 +(1.26)** 30.4.2004
9 +       - added get1_session()
10  
11 +**Unofficial release
12  #EOF
13 \ No newline at end of file
14 diff -ur Net_SSLeay.pm-1.25/SSLeay.pm Net_SSLeay.pm-1.26/SSLeay.pm
15 --- Net_SSLeay.pm-1.25/SSLeay.pm        2003-08-17 11:24:32.000000000 -0400
16 +++ Net_SSLeay.pm-1.26/SSLeay.pm        2004-04-30 09:25:45.784379547 -0400
17 @@ -43,6 +43,7 @@
18  #            Kim Minh Kaplan <kmkaplan@selfoffice._com>
19  # 17.8.2003, added http support :-) --Sampo
20  # 17.8.2003, started 1.25 dev --Sampo
21 +# 30.4.2004, added get1_session() for IO::Socket::SSL session caching; --Peter
22  #
23  # The distribution and use of this module are subject to the conditions
24  # listed in LICENSE file at the root of OpenSSL-0.9.7b
25 @@ -98,7 +99,7 @@
26  $Net::SSLeay::random_device = '/dev/urandom';
27  $Net::SSLeay::how_random = 512;
28  
29 -$VERSION = '1.25';
30 +$VERSION = '1.26';
31  @ISA = qw(Exporter DynaLoader);
32  @EXPORT_OK = qw(
33         AT_MD5_WITH_RSA_ENCRYPTION
34 diff -ur Net_SSLeay.pm-1.25/SSLeay.xs Net_SSLeay.pm-1.26/SSLeay.xs
35 --- Net_SSLeay.pm-1.25/SSLeay.xs        2003-08-18 18:21:08.000000000 -0400
36 +++ Net_SSLeay.pm-1.26/SSLeay.xs        2004-04-30 09:23:36.417797931 -0400
37 @@ -2189,6 +2189,10 @@
38  SSL_get_session(s)
39       SSL *              s
40  
41 +SSL_SESSION *
42 +SSL_get1_session(s)
43 +     SSL *              s
44 +
45  X509 *
46  SSL_get_certificate(s)
47       SSL *              s