- New upstream release 1.90
- Formalised libssl version support policy: all stable versions of OpenSSL
in the 0.9.8-1.1.1 branches (with the exception of 0.9.8-0.9.8b) and all
stable releases of LibreSSL in the 2.0-3.1 series are supported
- The LibreSSL 3.2 series is not yet fully supported because its TLSv1.3
implementation is not currently libssl-compatible
- Added support for LibreSSL on Windows when built with Visual C++
- Exposed P_X509_CRL_add_extensions, several SSL_CIPHER functions, and
several stack functions
- Fixed crashes in the callback functions CTX_set_next_proto_select_cb and
CTX_set_alpn_select_cb
- The test suite is now compatible with OpenSSL 1.1.1e onwards, as well as
OpenSSL security level 2 (the default on many Linux distributions)
17 lines
718 B
Diff
17 lines
718 B
Diff
--- Makefile.PL
|
|
+++ Makefile.PL
|
|
@@ -209,7 +209,12 @@ EOM
|
|
@{ $opts->{lib_links} } = map { $_ =~ s/32\b//g } @{ $opts->{lib_links} } if $Config{use64bitall};
|
|
}
|
|
else {
|
|
- push @{ $opts->{lib_links} }, qw( ssl crypto z );
|
|
+ if ( eval { require ExtUtils::PkgConfig; ExtUtils::PkgConfig->VERSION('1.16') } && ExtUtils::PkgConfig->exists('openssl') ) {
|
|
+ push @{ $opts->{lib_links} }, map { s/^-l//; $_ } split(' ', ExtUtils::PkgConfig->libs_only_l('openssl'));
|
|
+ }
|
|
+ else {
|
|
+ push @{ $opts->{lib_links} }, qw( ssl crypto z );
|
|
+ }
|
|
|
|
if (($Config{cc} =~ /aCC/i) && $^O eq 'hpux') {
|
|
print "*** Enabling HPUX aCC options (+e)\n";
|