Mailinglist Archive: opensuse-commit (1650 mails)
| < Previous | Next > |
commit perl-IO-Socket-SSL
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Mon, 06 Oct 2008 17:20:00 +0200
- Message-id: <20081006152001.3C9BC67815D@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package perl-IO-Socket-SSL
checked in at Mon Oct 6 17:20:00 CEST 2008.
--------
--- perl-IO-Socket-SSL/perl-IO-Socket-SSL.changes 2008-09-10
17:23:44.000000000 +0200
+++ /mounts/work_src_done/STABLE/perl-IO-Socket-SSL/perl-IO-Socket-SSL.changes
2008-10-06 15:06:21.000000000 +0200
@@ -1,0 +2,10 @@
+Mon Oct 6 15:05:26 CEST 2008 - anicka@xxxxxxx
+
+- update to 1.16
+ * change code for SSL_check_crl to use X509_STORE_set_flags
+ instead of X509_STORE_CTX_set_flags
+ * change opened() to report -1 if the IO::Handle is open, but the
+ SSL connection failed, needed with HTTP::Daemon::SSL which will
+ send an error mssage over the unencrypted socket
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
IO-Socket-SSL-1.15-store_set_flags.diff
IO-Socket-SSL-1.15.tar.bz2
New:
----
IO-Socket-SSL-1.16.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-IO-Socket-SSL.spec ++++++
--- /var/tmp/diff_new_pack.G28077/_old 2008-10-06 17:18:36.000000000 +0200
+++ /var/tmp/diff_new_pack.G28077/_new 2008-10-06 17:18:36.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package perl-IO-Socket-SSL (Version 1.15)
+# spec file for package perl-IO-Socket-SSL (Version 1.16)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,7 +20,7 @@
Name: perl-IO-Socket-SSL
BuildRequires: perl-Net-SSLeay perl-libwww-perl
-Version: 1.15
+Version: 1.16
Release: 1
Provides: p_iossl
Obsoletes: p_iossl
@@ -32,7 +32,6 @@
Url: http://cpan.org/modules/by-module/IO
Summary: IO::Socket::SSL Perl Module
Source: IO-Socket-SSL-%{version}.tar.bz2
-Patch: IO-Socket-SSL-%{version}-store_set_flags.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -49,7 +48,6 @@
%prep
%setup -q -n IO-Socket-SSL-%{version}
-%patch
%build
perl Makefile.PL
@@ -79,6 +77,13 @@
/var/adm/perl-modules/%{name}
%changelog
+* Mon Oct 06 2008 anicka@xxxxxxx
+- update to 1.16
+ * change code for SSL_check_crl to use X509_STORE_set_flags
+ instead of X509_STORE_CTX_set_flags
+ * change opened() to report -1 if the IO::Handle is open, but the
+ SSL connection failed, needed with HTTP::Daemon::SSL which will
+ send an error mssage over the unencrypted socket
* Wed Sep 10 2008 anicka@xxxxxxx
- update to 1.15
* change internal behavior when SSL handshake failed (like when
++++++ IO-Socket-SSL-1.15.tar.bz2 -> IO-Socket-SSL-1.16.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/IO-Socket-SSL-1.15/Changes
new/IO-Socket-SSL-1.16/Changes
--- old/IO-Socket-SSL-1.15/Changes 2008-08-28 21:58:37.000000000 +0200
+++ new/IO-Socket-SSL-1.16/Changes 2008-09-19 08:29:38.000000000 +0200
@@ -1,3 +1,10 @@
+v1.16
+ - change code for SSL_check_crl to use X509_STORE_set_flags instead of
+ X509_STORE_CTX_set_flags based on bug report from
+ <tjtoocool[AT]phreaker[DOT]net >
+ - change opened() to report -1 if the IO::Handle is open, but the
+ SSL connection failed, needed with HTTP::Daemon::SSL which will send
+ an error mssage over the unencrypted socket
v1.15
- change internal behavior when SSL handshake failed (like when verify
callback returned an error) in the hope to fix spurios errors in
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/IO-Socket-SSL-1.15/SSL.pm new/IO-Socket-SSL-1.16/SSL.pm
--- old/IO-Socket-SSL-1.15/SSL.pm 2008-08-28 21:56:53.000000000 +0200
+++ new/IO-Socket-SSL-1.16/SSL.pm 2008-09-19 08:30:01.000000000 +0200
@@ -51,7 +51,7 @@
BEGIN {
# Declare @ISA, $VERSION, $GLOBAL_CONTEXT_ARGS
@ISA = qw(IO::Socket::INET);
- $VERSION = '1.15';
+ $VERSION = '1.16';
$GLOBAL_CONTEXT_ARGS = {};
#Make $DEBUG another name for $Net::SSLeay::trace
@@ -1178,7 +1178,7 @@
sub opened {
my $self = shift;
- return IO::Handle::opened($self) && ( ${*$self}{'_SSL_opened'} == 1 );
+ return IO::Handle::opened($self) && ${*$self}{'_SSL_opened'};
}
sub opening {
@@ -1308,7 +1308,7 @@
if ($arg_hash->{'SSL_check_crl'}) {
if (Net::SSLeay::OPENSSL_VERSION_NUMBER() >= 0x0090702f) {
- Net::SSLeay::X509_STORE_CTX_set_flags(
+ Net::SSLeay::X509_STORE_set_flags(
Net::SSLeay::CTX_get_cert_store($ctx),
Net::SSLeay::X509_V_FLAG_CRL_CHECK()
);
@@ -1882,6 +1882,12 @@
get to do anything. But with version 0.98 you are better comparing the global
exported
variable $SSL_ERROR against the exported symbols SSL_WANT_READ and
SSL_WANT_WRITE.
+=item B<opened()>
+
+This returns false if the socket could not be opened, 1 if the socket could be
opened
+and the SSL handshake was successful done and -1 if the underlying IO::Handle
is open,
+but the SSL handshake failed.
+
=item B<< IO::Socket::SSL->start_SSL($socket, ... ) >>
This will convert a glob reference or a socket that you provide to an
IO::Socket::SSL
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |