Skip Menu |

This queue is for tickets about the Apache-SessionX CPAN distribution.

Report information
The Basics
Id: 1260
Status: new
Priority: 0/
Queue: Apache-SessionX

Owner: Nobody in particular
Requestors: tjmather [...]

Bug Information
Severity: Normal
Broken in: 2.00
Fixed in: 2.01

Subject: Digest::MD5 Fixx
Download (untitled) / with headers
text/plain 967b
I already e-mailed Gerald Richter about this, and he said would release a new version when he got the time. I'm posting it here in case anyone else runs into this issue. This patch fixes a bug related to an API change in Digest::MD5. The error that it fixes is: Undefined subroutine &Apache::SessionX::Generate::MD5::generate Note that this is the error in this e-mail thread: Here's the patch: --- /tmp/ Sun May 12 22:13:34 2002 +++ /usr/lib/perl5/site_perl/5.6.0/Apache/SessionX/Generate/ Sun May 12 22:12:57 2002 @@ -12,7 +12,7 @@ use strict; use vars qw($VERSION); -use MD5; +use Digest::MD5; $VERSION = '2.1'; @@ -26,7 +26,7 @@ } $session->{data}->{_session_id} = - substr(MD5->hexhash(MD5->hexhash($arg || (time(). {}. rand(). $$))), 0, $length); + substr(Digest::MD5::md5_hex(Digest::MD5::md5_hex($arg || (time(). {}. rand(). $$))), 0, $length); }

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to