That's it, I've seen questions about this one time too many for
authorRichard Levitte <levitte@openssl.org>
Wed, 28 Jun 2000 14:32:12 +0000 (14:32 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 28 Jun 2000 14:32:12 +0000 (14:32 +0000)
today.  Time to add extra info so the poor users know where to
go with their troubles.

crypto/rand/md_rand.c

index 88a608ae36b1618f89732a697520497f90e560ea..668da9549997cc9b2586331d05ef4e574b1f8e48 100644 (file)
@@ -571,6 +571,8 @@ static int ssleay_rand_bytes(unsigned char *buf, int num)
        else
                {
                RANDerr(RAND_F_SSLEAY_RAND_BYTES,RAND_R_PRNG_NOT_SEEDED);
+               ERR_add_error_data(1, "You need to read the OpenSSL FAQ, "
+                       "http://www.openssl.org/support/faq.html");
                return(0);
                }
        }