perl-HTTP-Daemon-SSL-1.04-13.fc21 fails to build in F21 because tests fail: Provádění(%check): /bin/sh -e /var/tmp/rpm-tmp.xggGnP + umask 022 + cd /builddir/build/BUILD + cd HTTP-Daemon-SSL-1.04 + make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/loadmodule.t .. ok Can't call method "get_request" on an undefined value at t/testmodule.t line 91. t/testmodule.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 4/9 subtests Test Summary Report ------------------- t/testmodule.t (Wstat: 65280 Tests: 7 Failed: 2) Failed tests: 4, 7 Non-zero exit status: 255 Parse errors: Tests out of sequence. Found (4) but expected (6) Bad plan. You planned 9 tests but ran 7. Files=2, Tests=10, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.17 cusr 0.02 csys = 0.22 CPU) Result: FAIL
The problem is that F21 openssl cannot use the pregenerated 512-bit RSA key for signing digest which is to large with modern openssl. The server complains: 140107221378928:error:04075070:rsa routines:RSA_sign:digest too big for rsa key:rsa_sign.c:127: 140107221378928:error:1409B006:SSL routines:SSL3_SEND_SERVER_KEY_EXCHANGE:EVP lib:s3_srvr.c:1982: Proper solution is to generated the keys and certificates at test time with OpenSSL default settings.
Thanks I missed this.