diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2013-07-09 08:57:25 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2013-07-09 08:57:25 +0000 |
commit | 9ba07dc3b7a7b0efe411c461c8aaf6b899edc64d (patch) | |
tree | 96bcb7cbf7fcdf11b500c193b5dc0fc724da2377 | |
parent | 408f6d4b30b54fdc805eda5d38f6c2e53648a036 (diff) |
Fix a pair of aesthetic nits in dev/rnd.c:
fix language (feed -> fed) in a comment
16 -> MD5_DIGEST_LENGTH for legibility
No change to resulting object file.
ok djm@
-rw-r--r-- | sys/dev/rnd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/rnd.c b/sys/dev/rnd.c index 711cf14fc83..a140eaa6990 100644 --- a/sys/dev/rnd.c +++ b/sys/dev/rnd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rnd.c,v 1.142 2013/03/25 14:58:28 markus Exp $ */ +/* $OpenBSD: rnd.c,v 1.143 2013/07/09 08:57:24 blambert Exp $ */ /* * Copyright (c) 2011 Theo de Raadt. @@ -405,7 +405,7 @@ done: * * Rotate the input word by a changing number of bits, to help assure * that all bits in the entropy get toggled. Otherwise, if the pool - * is consistently feed small numbers (such as keyboard scan codes) + * is consistently fed small numbers (such as keyboard scan codes) * then the upper bits of the entropy pool will frequently remain * untouched. */ @@ -484,7 +484,7 @@ void extract_entropy(u_int8_t *buf, int nbytes) { static u_int32_t extract_pool[POOLWORDS]; - u_char buffer[16]; + u_char buffer[MD5_DIGEST_LENGTH]; MD5_CTX tmp; u_int i; |