Something like this may help you out:
rand_buf = "0123456789ABCDEF0";
RAND_seed(rand_buf, 17);
/* One or the other will do */
RAND_add(rand_buf, 17, 17);
"De Closmadeuc, Etienne" <[EMAIL PROTECTED]> on 04/06/2001 03:48:28
AM
Please respond to [EMAIL PROTECTED]
To: openssl-users <[EMAIL PROTECTED]>
cc: (bcc: Carl Douglas/CIMG/CVG)
Subject: PRNG not seeded ERROR
Openssl is correctly installed. Here is the report :
OpenSSL self-test report:
OpenSSL version: 0.9.6
Last change: In ssl23_get_client_hello, generate an error message
wh...
OS (uname): AIX spirou 3 4 0055B8AA4C00
OS (config): 0055B8AA4C00-ibm-aix
Target (default): ??
Target: aix-gcc
Compiler: gcc version 2.95.2.1 19991024 (release)
Test passed.
EGD is correctly installed and running. Here is the report for the "ps"
command
35310 pts/3 0:03 perl -w /usr/local/bin/egd.pl /etc/egd-pool
But I still get this error :
root@spirou:/usr/local/ssl> echo $RANDFILE
/etc/egd-pool
root@spirou:/usr/local/ssl> ./bin/openssl req -new
Using configuration from /usr/local/ssl/openssl.cnf
unable to load 'random state'
This means that the random number generator has not been seeded
with much random data.
Generating a 1024 bit RSA private key
30850:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:md_rand.c:474:You need to read the OpenSSL FAQ,
http://www.openssl.org/support/faq.html
30850:error:04069003:rsa routines:RSA_generate_key:BN
lib:rsa_gen.c:182:
What's wrong ???
Thanks for help.
Etienne de Closmadeuc ([EMAIL PROTECTED])
Logica SA
183, route de Canéjan 33173 GRADIGNAN CEDEX
Tél : 05.56.75.77.00
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
--
NOTICE: The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential. If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]