LP1901930 More randomization to auth session keys
authorBill Erickson <berickxx@gmail.com>
Wed, 9 Jun 2021 20:56:53 +0000 (16:56 -0400)
committerJason Etheridge <jason@EquinoxOLI.org>
Wed, 20 Apr 2022 18:49:33 +0000 (14:49 -0400)
commit1a7cf04dd3b54bb0e4c63546e53209629a3dafb8
tree0b5043f2f85a09552761a51114efca71b23c2b55
parent22d58cd35ed4ba22475319596956e6b9d5919a41
LP1901930 More randomization to auth session keys

Testing with many parallel SIP clients using the same login credentials
showed that it's possible to have a hash collision when two logins occur
with the same second and using the same username when the same backend
auth_internal process handles the request.  This just adds more
randomness to the hash generation.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/c-apps/oils_auth_internal.c