Debian Patches

Status for libnet-ssleay-perl/1.96-2

Patch Description Author Forwarded Bugs Origin Last update
20no-stray-libz-link.patch Avoid unnecessary dependency on libz intrigeri <intrigeri@boum.org> no 2019-07-19
version_check_on_autopkgtest.patch Loosen the OpenSSL version checks on autopkgtests
The test suite checks that the OPENSSL_version_*() calls match the compile-time
constants, which is reasonable in a unit test that is run in the same time
frame as the compilation, as is usually the case. However, this check doesn't
make as much sense in the autopkgtest context, where the src:openssl package
might have been updated for a bugfix release, for instance. Such updates would
trigger an autopkgtest run, and barring regressions in OpenSSL the tests for
this package should reasonably not fail, especially given the explicit
versioning policy from 3.0.0 forward:

https://www.openssl.org/policies/general/versioning-policy.html
Simon Chopin <simon.chopin@canonical.com> not-needed debian ubuntu 2022-05-10
0001-Fix-SSLv3-in-OpenSSL-4.0.0.patch [PATCH 1/7] Fix SSLv3 in OpenSSL 4.0.0
Support for SSLv3 was removed.
Michal Josef Špaček <mspacek@redhat.com> no 2026-04-14
0002-OpenSSL-4.0.0-remove-support-for-some-TLS-functions.patch [PATCH 2/7] OpenSSL 4.0.0 remove support for some TLS functions
Removes fixed version TLS methods
(https://github.com/openssl/openssl/pull/30128)
Michal Josef Špaček <mspacek@redhat.com> no 2026-04-14
0003-Fix-Net-SSLeay-to-support-opaque-ASN1_STRING.patch [PATCH 3/7] Fix Net::SSLeay to support opaque ASN1_STRING Michal Josef Špaček <mspacek@redhat.com> no 2026-04-14
0004-Update-tests-for-removal-of-SSLv2-Client-Hello-suppo.patch [PATCH 4/7] Update tests for removal of SSLv2 Client Hello support in OpenSSL 4.0.0 Michal Josef Špaček <mspacek@redhat.com> no 2026-04-14
0005-Add-default-for-Net-SSLeay-OPENSSL_info-return-value.patch [PATCH 5/7] Add default '' for Net::SSLeay::OPENSSL_info() return value in tests

The root cause was the removal of engines in OpenSSL 4.0.0, which
triggered a warning.
Michal Josef Špaček <mspacek@redhat.com> no 2026-04-14
0006-Add-Changes-for-OPenSSL-4-support-and-update-tests.patch [PATCH 6/7] Add Changes for OPenSSL 4 support and update tests.
Update the test helper module for better detection of available TLS versions
with OpenSSL 4. Otherwise some of the tests with older TLS methods may be
skipped even though they are available with OpenSSL 4.
Heikki Vatiainen <hvn@radiatorsoftware.com> no 2026-06-17
0007-Do-not-use-elif-but-if-with-else-to-avoid-duplicate-.patch [PATCH 7/7] Do not use #elif but #if with #else to avoid duplicate definitions in XS.

Perl XS parser seems not to understand C preproceessor #elif. Using #if with

Warning: duplicate function definition 'CTX_tlsv1_new' detected in SSLeay.xs, line 2493
Warning: duplicate function definition 'CTX_tlsv1_1_new' detected in SSLeay.xs, line 2517
Warning: duplicate function definition 'CTX_tlsv1_2_new' detected in SSLeay.xs, line 2541

This was seen with Perl 5.42.0 but more may not be the cae with more recent
Perl versions.
Heikki Vatiainen <hvn@radiatorsoftware.com> no 2026-06-17

All known versions for source package 'libnet-ssleay-perl'

Links