MCPcopy Create free account
hub / github.com/apache/httpd / seed_RAND

Function seed_RAND

modules/md/md_crypt.c:85–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83#ifdef MD_HAVE_ARC4RANDOM
84
85static void seed_RAND(int pid)
86{
87 char seed[128];
88
89 (void)pid;
90 arc4random_buf(seed, sizeof(seed));
91 RAND_seed(seed, sizeof(seed));
92}
93
94#else /* ifdef MD_HAVE_ARC4RANDOM */
95

Callers 1

md_crypt_initFunction · 0.85

Calls 1

rand_choosenumFunction · 0.85

Tested by

no test coverage detected