]> git.ipfire.org Git - thirdparty/apache/httpd.git/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)
commit0a22c4bf4707c701556ace579d2f6513c6cc958f
tree7309c9d792adb83ee88a49628048a8d565655942
parent3a2fa0ff8cef0f6981252ba9b1d3d5cbaa6bb904
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/modules/ssl@92232 13f79535-47bb-0310-9956-ffa450edef68
ssl_engine_init.c
ssl_engine_rand.c