Skip Menu | You are currently an anonymous guest. | Login | Return to Main | About rt.cpan.org
 

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.

X Report information
Id: 26028
Status: resolved
Left: 0 min
Priority: 0/0
Queue: Crypt-RSA

Owner: Nobody
Requestors: alankila [...] elma.fi
Cc:
AdminCc:

Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



X History Display mode: Brief headersFull headers
#   Sun Apr 01 08:49:42 2007 alankila[...]elma.fi - Ticket created  
Subject: Simple mistake in Crypt::RSA::Key::Private::AUTOLOAD()
Date: Sun, 01 Apr 2007 15:45:51 +0300
To: bug-Crypt-RSA[...]rt.cpan.org
From: "Antti S. Lankila" <alankila[...]elma.fi>
[text/plain 409b]
Makes it impossible to initialise these objects from 0x12345678 values
in spirit of: $key->n($hex_modulus);

if ($value =~ /^0x/) {
$self->{private}->{"_$key"} =
$self->{Checked} = 0;
Math::Pari::_hex_cvt($value);

Clearly, $self->{Checked} = 0 has been copypasted in middle of
statement. Unfortunately, nothing detects this error.

--
Antti

#   Sun Jul 06 18:43:15 2008 VIPUL - Correspondence added  
[text/plain 27b]
Fixed in 1.95. Thank you!
#   Sun Jul 06 18:43:16 2008 RT_System - Status changed from 'new' to 'open'  
#   Sun Jul 06 18:43:17 2008 VIPUL - Status changed from 'open' to 'resolved'