Update to 2.080

- New upstream release 2.080
  - Move test certificates into t/ directory where they belong
This commit is contained in:
Paul Howarth 2023-01-18 17:35:39 +00:00
parent 555496a682
commit 3cc6c87f4a
3 changed files with 12 additions and 8 deletions

View File

@ -53,15 +53,15 @@ index 0000000..2413588
+} +}
+ +
+my $port = 2000; +my $port = 2000;
+my $ca_cert = 'certs/test-ca.pem'; +my $ca_cert = 't/certs/test-ca.pem';
+ +
+diag 'Starting a server'; +diag 'Starting a server';
+my ($server, $input, $stdout, $stderr); +my ($server, $input, $stdout, $stderr);
+eval { +eval {
+ $server = IPC::Run::start(['openssl', 's_server', '-port', $port, + $server = IPC::Run::start(['openssl', 's_server', '-port', $port,
+ '-Verify', '1', + '-Verify', '1',
+ '-cert', 'certs/server-wildcard.pem', + '-cert', 't/certs/server-wildcard.pem',
+ '-key', 'certs/server-wildcard.pem', '-CAfile', $ca_cert], + '-key', 't/certs/server-wildcard.pem', '-CAfile', $ca_cert],
+ \$input, \$stdout, \$stderr); + \$input, \$stdout, \$stderr);
+ # subsequent \undef does not work + # subsequent \undef does not work
+ # <https://github.com/toddr/IPC-Run/issues/124> + # <https://github.com/toddr/IPC-Run/issues/124>
@ -84,8 +84,8 @@ index 0000000..2413588
+ SSL_verifycn_scheme => 'www', + SSL_verifycn_scheme => 'www',
+ SSL_verifycn_name => 'www.server.local', + SSL_verifycn_name => 'www.server.local',
+ SSL_ca_file => $ca_cert, + SSL_ca_file => $ca_cert,
+ SSL_key_file => 'certs/client-key.pem', + SSL_key_file => 't/certs/client-key.pem',
+ SSL_cert_file => 'certs/client-cert.pem' + SSL_cert_file => 't/certs/client-cert.pem'
+); +);
+ok($client, 'Client connected'); +ok($client, 'Client connected');
+ +

View File

@ -6,7 +6,7 @@
%bcond_without perl_IO_Socket_SSL_test_IO_Socket_INET6 %bcond_without perl_IO_Socket_SSL_test_IO_Socket_INET6
Name: perl-IO-Socket-SSL Name: perl-IO-Socket-SSL
Version: 2.079 Version: 2.080
Release: 1%{?dist} Release: 1%{?dist}
Summary: Perl library for transparent SSL Summary: Perl library for transparent SSL
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND MPL-2.0 License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND MPL-2.0
@ -16,7 +16,7 @@ Patch0: IO-Socket-SSL-2.076-use-system-default-cipher-list.patch
Patch1: IO-Socket-SSL-2.079-use-system-default-SSL-version.patch Patch1: IO-Socket-SSL-2.079-use-system-default-SSL-version.patch
# A test for Enable-Post-Handshake-Authentication-TLSv1.3-feature.patch, # A test for Enable-Post-Handshake-Authentication-TLSv1.3-feature.patch,
# bug #1632660, requires openssl tool # bug #1632660, requires openssl tool
Patch2: IO-Socket-SSL-2.066-Test-client-performs-Post-Handshake-Authentication.patch Patch2: IO-Socket-SSL-2.080-Test-client-performs-Post-Handshake-Authentication.patch
BuildArch: noarch BuildArch: noarch
# Module Build # Module Build
BuildRequires: coreutils BuildRequires: coreutils
@ -125,6 +125,10 @@ make test
%{_mandir}/man3/IO::Socket::SSL::PublicSuffix.3* %{_mandir}/man3/IO::Socket::SSL::PublicSuffix.3*
%changelog %changelog
* Wed Jan 18 2023 Paul Howarth <paul@city-fan.org> - 2.080-1
- Update to 2.080
- Move test certificates into t/ directory where they belong
* Mon Jan 16 2023 Paul Howarth <paul@city-fan.org> - 2.079-1 * Mon Jan 16 2023 Paul Howarth <paul@city-fan.org> - 2.079-1
- Update to 2.079 - Update to 2.079
- Properly extract IPv6 address for verification from PeerAddr if - Properly extract IPv6 address for verification from PeerAddr if

View File

@ -1 +1 @@
SHA512 (IO-Socket-SSL-2.079.tar.gz) = 0d820759aefe04d426b7dbcac9ee4a6d8376eb2650d5d6c8c496e0eac70b38f5f6214c87bd74e1c6e96aac9ef0e4bf34ec9be1e3d21d4fd541fc3d190a75d4ba SHA512 (IO-Socket-SSL-2.080.tar.gz) = ad85438890bc81d4463c3d7dacf21e40907877d774a9277863fd47e9fe9689aec6cf3dc5791e1bdc567cdc323b196403bdf764d849ecac9794d3b368f8481dc9