@@ -1,5 +1,13 @@
Revision history for Perl extension Net::SSLeay.
+1.68 2015-01-24
+ Fixed a problem on OSX when macports openssl 1.x is installed: headers from
+ macport were found but older OSX openssl libraries were linked, resulting
+ in "Symbol not found: _EVP_MD_do_all_sorted".
+ Added notes about runtime error "no OPENSSL_Applink", when calling
+ Net::SSLeay::P_PKCS12_load_file.
+
+
1.67 2015-01-17
Improvements to inc/Module/Install/PRIVATE/Net/SSLeay.pm to handle the
case whe there are muliple OPENSSLs installed. Patch from HBRAND
@@ -28,4 +28,4 @@ requires:
resources:
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=net-ssleay
repository: svn://svn.debian.org/svn/net-ssleay
-version: 1.67
+version: 1.68
@@ -7,7 +7,20 @@ Building on Win 32 platforms
ancient versions and untested procedures removed --mikem
22.4.2010 Updated info for 64 bit versions --mikem
-$Id: README.Win32 429 2015-01-05 22:16:27Z mikem-guest $
+Notes:
+
+1. With some combinations of Windows, perl, compiler and compiler options, you
+may see a runtime error "no OPENSSL_Applink", when calling
+Net::SSLeay::P_PKCS12_load_file. This appears to be due to incompatible
+compile options between the openssl libraries and Net::SSLeay. In particular
+it has been observed with Shining Light OpenSSL See
+https://www.openssl.org/support/faq.html for more details. Alas, the
+apparently simple and receommended solution of adding applink.c to the SSLeay
+library does not work, since applink.c need to be in the .exe file, not the
+.dll for this to work. Best workaround is to build and install OpenSSL for
+windows yourself.
+
+$Id: README.Win32 434 2015-01-24 00:24:24Z mikem-guest $
1. Windows Server 2003
ActivePerl 5.8.8.820
@@ -8,7 +8,7 @@
*
* Change data removed. See Changes
*
- * $Id: SSLeay.xs,v 1.9 2015/01/16 22:19:22 mikem Exp mikem $
+ * $Id: SSLeay.xs,v 1.10 2015/01/23 20:59:15 mikem Exp mikem $
*
* The distribution and use of this module are subject to the conditions
* listed in LICENSE file at the root of the Net-SSLeay
@@ -179,6 +179,7 @@ sub find_openssl_prefix {
}
my @guesses = (
+ '/opt/local/bin/openssl' => '/opt/local', # Macports openssl
'/usr/bin/openssl' => '/usr',
'/usr/sbin/openssl' => '/usr',
'/opt/ssl/bin/openssl' => '/opt/ssl',
@@ -4,7 +4,7 @@
# Copyright (C) 2005 Florian Ragwitz <rafl@debian.org>, All Rights Reserved.
# Copyright (C) 2005 Mike McCauley <mikem@airspayce.com>, All Rights Reserved.
#
-# $Id: SSLeay.pm 432 2015-01-16 22:20:31Z mikem-guest $
+# $Id: SSLeay.pm 434 2015-01-24 00:24:24Z mikem-guest $
#
# Change data removed from here. See Changes
# The distribution and use of this module are subject to the conditions
@@ -63,7 +63,7 @@ $Net::SSLeay::slowly = 0;
$Net::SSLeay::random_device = '/dev/urandom';
$Net::SSLeay::how_random = 512;
-$VERSION = '1.67'; # Dont forget to set version in META.yml too
+$VERSION = '1.68'; # Dont forget to set version in META.yml too
@ISA = qw(Exporter);
#BEWARE:
@@ -1691,6 +1691,10 @@ Examples:
#BEWARE: THIS IS WRONG - MEMORY LEAKS! (you cannot free @cachain items)
my ($privkey, $cert) = Net::SSLeay::P_PKCS12_load_file($filename, 1, $password);
+B<NOTE> With some combinations of Windows, perl, compiler and compiler options, you
+may see a runtime error "no OPENSSL_Applink", when calling
+Net::SSLeay::P_PKCS12_load_file. See README.Win32 for more details.
+
=back
=head3 Low level API: SESSION_* related functions