whoops, need to use srand() for STDC, not srandom()
authorJohn Kohl <jtkohl@mit.edu>
Wed, 5 Jun 1991 13:35:06 +0000 (13:35 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 5 Jun 1991 13:35:06 +0000 (13:35 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2152 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/os/rnd_confoun.c

index 95ba62075b19e5a5c17804ef96b71e72e3b876ea..c0f7b52d337b784e1904897a2b879b07712d4744 100644 (file)
@@ -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