X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=crypt.c;h=2af3fd7e1c17a03ce715e950e2b82d7fae1277c1;hp=39fcd7edc136c6b81ef80b5132ea59ddbbeb74b1;hb=349d14071d64971a86d2af092cb09ccbc4989afb;hpb=bb91597b9ecf650a63a40753f7f7c771576d252e diff --git a/crypt.c b/crypt.c index 39fcd7ed..2af3fd7e 100644 --- a/crypt.c +++ b/crypt.c @@ -38,9 +38,9 @@ void get_random_bytes_or_die(unsigned char *buf, int num) } /* - * Read 64 bytes from /dev/urandom and adds them to the SSL PRNG. Seed the PRNG - * used by random() with a random seed obtained from SSL. If /dev/random is not - * readable the function calls exit(). + * Read 64 bytes from /dev/urandom and add them to the SSL PRNG. Seed the PRNG + * used by random(3) with a random seed obtained from SSL. If /dev/urandom is + * not readable, the function calls exit(). * * \sa RAND_load_file(3), \ref get_random_bytes_or_die(), srandom(3), * random(3), \ref para_random().