summaryrefslogtreecommitdiffstats
path: root/crypto/rand/md_rand.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-06-28 16:32:12 +0200
committerRichard Levitte <levitte@openssl.org>2000-06-28 16:32:12 +0200
commit3b3bc455d0a670b835a37996f35651b83b52d8df (patch)
tree5cd87b63feb2db1a4fa6c73e74d6fb3177e6aa57 /crypto/rand/md_rand.c
parentMake sure we use /usr/sbin/sysctl, especially since /usr/sbin is not (diff)
downloadopenssl-3b3bc455d0a670b835a37996f35651b83b52d8df.tar.xz
openssl-3b3bc455d0a670b835a37996f35651b83b52d8df.zip
That's it, I've seen questions about this one time too many for
today. Time to add extra info so the poor users know where to go with their troubles.
Diffstat (limited to 'crypto/rand/md_rand.c')
-rw-r--r--crypto/rand/md_rand.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/rand/md_rand.c b/crypto/rand/md_rand.c
index 88a608ae36..668da95499 100644
--- a/crypto/rand/md_rand.c
+++ b/crypto/rand/md_rand.c
@@ -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);
}
}