Package: libhttp-daemon-ssl-perl / 1.05-01-5

Metadata

Package Version Patches format
libhttp-daemon-ssl-perl 1.05-01-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
testmodule.diff | (download)

Makefile.PL | 5 5 + 0 - 0 !
t/testmodule.t | 55 46 + 9 - 0 !
2 files changed, 51 insertions(+), 9 deletions(-)

 [patch] generate keys and certificates at test-time
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This fixes <https://rt.cpan.org/Public/Bug/Display.html?id=88998>.

Signed-off-by: Petr Psa <ppisar@redhat.com>

testpost.diff | (download)

t/post.t | 10 9 + 1 - 0 !
1 file changed, 9 insertions(+), 1 deletion(-)

 use the on-the-fly created ca and cert/key pair in post.t
IO Socket SSL_2.078.patch | (download)

t/testmodule.t | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 fix t/testmodule.t with io-socket-ssl
 IO-Socket-SSL has in 2.078 reverted the decision from 2014 to not verify
 hostname by default if hostname is IP address but no explicit verification
 scheme given
 https://github.com/noxxi/p5-io-socket-ssl/commit/c0a063b70f0a3ad033da0a51923c65bd2ff118a0
 https://github.com/noxxi/p5-io-socket-ssl/issues/121
 .
 This makes t/testmodule.t fail. Add subjectAltNames with IP: 127.0.0.1 as a
 workaround, as in
 https://github.com/nginx/nginx-tests/commit/aedae20271d68a9341aff9f925499c367064fcd9
 or IO-Socket-SSL's test suite in the above commit.
IO Socket SSL_2.079.patch | (download)

t/testmodule.t | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 fix test with io::socket::ssl >= 2.079
 t/testmodule.t writes to STDERR
   ok #bad request handled 9
   Use of uninitialized value $2 in concatenation (.) or string at /usr/share/perl5/IO/Socket/SSL.pm line 792.
   ok #client good connection test 8
 after the change in IO::Socket::SSL 2.079:
   - https://github.com/noxxi/p5-io-socket-ssl/issues/123
   - https://github.com/noxxi/p5-io-socket-ssl/commit/2681d9d9b0a5ba25abd7e32251daa3d1fc2b466a
 .
 Add SSL_verifycn_name to the test client.