]> granicus.if.org Git - apache/commit
move srand() call from ssl_rand_choosenum() to ssl_init_Child()
authorDoug MacEachern <dougm@apache.org>
Thu, 29 Nov 2001 05:08:47 +0000 (05:08 +0000)
committerDoug MacEachern <dougm@apache.org>
Thu, 29 Nov 2001 05:08:47 +0000 (05:08 +0000)
commit538110d7628e2025b973dd5deb052e7a817bd60d
tree6b0240d57f4ba6d033249e8549ee92fd1e837371
parent1c3ac886e0eb43ba83d24f66d74816518db88402
move srand() call from ssl_rand_choosenum() to ssl_init_Child()

this was being called twice per-connection with 'SSLRandom connect builtin'
configured (which is in the default config)

this also gets rid of two time() syscalls per-connection

PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92232 13f79535-47bb-0310-9956-ffa450edef68
modules/ssl/ssl_engine_init.c
modules/ssl/ssl_engine_rand.c