Skip Menu |

This queue is for tickets about the Crypt-OpenSSL-Random CPAN distribution.

Report information
The Basics
Id: 121225
Status: new
Priority: 0/
Queue: Crypt-OpenSSL-Random

People
Owner: Nobody in particular
Requestors: DANAJ [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: random_pseudo_bytes is calling the wrong function
The souce for random_pseudo_bytes in Random.xs is identical to random_bytes. Line 50 should cann RAND_pseudo_bytes(rand_bytes, num_bytes). For recent versions of OpenSSL the point is somewhat moot as it treats the two identically with the only difference being that the pseudo function doesn't die if it hasn't been well seeded. But that means people who expect that option won't get it. Apparently its behavior changes quite a bit with different versions and different plugins.