krb5 commit: Fix typo in prng.c comment

Greg Hudson ghudson at mit.edu
Thu Sep 22 23:13:28 EDT 2016


https://github.com/krb5/krb5/commit/b9c5c7a6b65764f8303248582b2d1929fb656ab7
commit b9c5c7a6b65764f8303248582b2d1929fb656ab7
Author: Greg Hudson <ghudson at mit.edu>
Date:   Thu Sep 22 23:11:34 2016 -0400

    Fix typo in prng.c comment
    
    (The typo was mine, introduced during a final editing pass.)

 src/lib/crypto/krb/prng.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/crypto/krb/prng.c b/src/lib/crypto/krb/prng.c
index 22948a4..cb9ca9b 100644
--- a/src/lib/crypto/krb/prng.c
+++ b/src/lib/crypto/krb/prng.c
@@ -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


More information about the cvs-krb5 mailing list