> Thanks for your response.
> Here is how i use RAND_seed in my client :
>
> while (RAND_status() == 0) {
> int rnd = rand();
> RAND_seed(&rnd, sizeof(rnd));
> }
Ungh.
Now you're seeding your random number generator with... a
random number generator. And I bet you never called sr
hi brian,
Thanks for your response.
Here is how i use RAND_seed in my client :
while (RAND_status() == 0) {
int rnd = rand();
RAND_seed(&rnd, sizeof(rnd));
}
Now Serverhello and certificate is accepted but when
the client tries to generate a RSA key, the control
does not seem to be
> 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.
...
> unsigned long Time=time(NULL);
>
> RAND_add(&Time,sizeof(Time),0);
You should call RAND_status which returns true/false to tell you
if you
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;