From: Andre Noll Date: Wed, 27 Dec 2017 20:37:23 +0000 (+0100) Subject: crypt.c: Fix two typos in comment. X-Git-Tag: v0.6.2~50 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=349d14071d64971a86d2af092cb09ccbc4989afb crypt.c: Fix two typos in comment. s/adds/add and s/random/urandom. Also add the man section to random(). --- 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().