From: John Kohl Date: Wed, 5 Jun 1991 13:35:06 +0000 (+0000) Subject: whoops, need to use srand() for STDC, not srandom() X-Git-Tag: krb5-1.0-beta1~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c72bd5d9dda68f1803997ae16389657d7e84c920;p=krb5.git whoops, need to use srand() for STDC, not srandom() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2152 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/os/rnd_confoun.c b/src/lib/crypto/os/rnd_confoun.c index 95ba62075..c0f7b52d3 100644 --- a/src/lib/crypto/os/rnd_confoun.c +++ b/src/lib/crypto/os/rnd_confoun.c @@ -35,7 +35,7 @@ krb5_pointer fillin; if (!seeded) { /* time() defined in 4.12.2.4, but returns a time_t, which is an "arithmetic type" (4.12.1) */ - srandom((unsigned int) time(0)); + srand((unsigned int) time(0)); seeded = 1; } #else