Crypt-OpenSSL-RSA broken under perl 5.14, consequently DKIM checks in SpamAssassin

Mark Martinec Mark.Martinec+amavis at ijs.si
Fri May 20 02:37:35 CEST 2011


Now that perl 5.14.0 is gaining traction (appeared in FreeBSD ports and
elsewhere), I'd like to point out that a module Crypt-OpenSSL-RSA 0.26
is still not fixed and an old bug now results in Mail::DKIM failing,
consequently DKIM checks in SpamAssassin and in amavisd fail.

The fix is rather trivial:

--- Crypt/OpenSSL/RSA.pm~     2009-11-22 21:36:07.000000000 +0100
+++ Crypt/OpenSSL/RSA.pm      2011-05-19 21:53:08.000000000 +0200
@@ -7,5 +7,5 @@
 
 require DynaLoader;
-require AutoLoader;
+use AutoLoader 'AUTOLOAD';
 
 @ISA = qw(DynaLoader);


See:

[perl #84444]:
  http://rt.perl.org/rt3//Public/Bug/Display.html?id=84444

CPAN #65947:
  https://rt.cpan.org/Public/Bug/Display.html?id=65947

FreeBSD pr 157187:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=157187


Mark


More information about the amavis-users mailing list