From c72bd5d9dda68f1803997ae16389657d7e84c920 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 5 Jun 1991 13:35:06 +0000 Subject: [PATCH] whoops, need to use srand() for STDC, not srandom() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2152 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/os/rnd_confoun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2