]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fix typo in prng.c comment
authorGreg Hudson <ghudson@mit.edu>
Fri, 23 Sep 2016 03:11:34 +0000 (23:11 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 23 Sep 2016 03:12:07 +0000 (23:12 -0400)
(The typo was mine, introduced during a final editing pass.)

src/lib/crypto/krb/prng.c

index 22948a4971e47c8ba52f4f1fa97b9c2f020e55b6..cb9ca9b983d11bfd02dfe08b7c123531ff38454b 100644 (file)
@@ -104,9 +104,9 @@ k5_get_os_entropy(unsigned char *buf, size_t len, int strong)
 
     while (len > 0) {
         /*
-         * Pull from the /dev/urandom pool, but it to have been seeded.  This
-         * ensures strong randomness while only blocking during first system
-         * boot.
+         * Pull from the /dev/urandom pool, but require it to have been seeded.
+         * This ensures strong randomness while only blocking during first
+         * system boot.
          *
          * glibc does not currently provide a binding for getrandom:
          * https://sourceware.org/bugzilla/show_bug.cgi?id=17252