Random number??

2003-06-05 Thread St-Pierre Philip
Title: Random number?? Hi,     I'm new to OpenSSL. I try to generate random keys with DES_random_key. Under windows, all goes well. But Under Tandem, this doesn't succeed. The Documentation says that i need to seed the prng. So i tried with RAND_seed, but RAND_status() always return zero.

Error code?

2003-06-04 Thread St-Pierre Philip
Title: Error code? Hi,     I wrote the following lines: if (RAND_bytes((unsigned char *)ret, sizeof(DES_cblock)) != 1) {     errCode = ERR_get_error();     ERR_error_string(errCode, errString);     printf("RAND_bytes Error: %s\n", errString); And here is what i get from the