On Tue, Feb 29, 2000 at 03:02:28PM +0100, Hellan,Kim KHE wrote:
> I have tried checking the error codes and it should say something like:
> "error:24064064:random number generator:SSLEAY_RAND_BYTES:prng not seeded"
>
> Have you made some changes to this function since version 0.9.4?
> Is there something that I now have to initialize/seed first?
>From openssl/FAQ:
* Why do I get a "PRNG not seeded" error message?
Cryptographic software needs a source of unpredictable data to work
correctly. Many open source operating systems provide a "randomness
device" that serves this purpose. On other systems, applications have
to call the RAND_add() or RAND_seed() function with appropriate data
before generating keys or performing public key encryption.
Some broken applications do not do this. As of version 0.9.5, the
OpenSSL functions that need randomness report an error if the random
number generator has not been seeded with at least 128 bits of
randomness. If this error occurs, please contact the author of the
application you are using. It is likely that it never worked
correctly. OpenSSL 0.9.5 makes the error visible by refusing to
perform potentially insecure encryption.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]