hi, I get a PRNG_NOT_SEEDED error even after i call RAND_add() function. I am calling the function at the begining before SSL initialization.
Here is my sample client running on embedded board (ThreadX os). void ssl_client (void) { int err; int sd; struct sockaddr_in sa; SSL_CTX* ctx; SSL* ssl; X509* server_cert; char* str; SSL_METHOD *meth; int theArg,r,success,theStatus; fd_set readfds,writefds; char c2s[BUFSIZZ],s2c[BUFSIZZ]; unsigned long Time=time(NULL); RAND_add(&Time,sizeof(Time),0); SSLeay_add_ssl_algorithms(); meth = SSLv3_client_method(); SSL_load_error_strings(); ctx = SSL_CTX_new (meth); SSL_CTX_set_cipher_list(ctx,"ALL"); . . . After the client sucessfully reads the serverhello, server done message and calls ssl3_send_client_key_exchange() i get this Error. Can anyone please help to figure out this issue. I tried what was mentioned on FAQ.. regards, raj __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]