aboutsummaryrefslogtreecommitdiffstats
path: root/cipher
diff options
context:
space:
mode:
Diffstat (limited to 'cipher')
-rw-r--r--cipher/random.c4
-rw-r--r--cipher/rndw32.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/cipher/random.c b/cipher/random.c
index f7ffb226d..460c2afe9 100644
--- a/cipher/random.c
+++ b/cipher/random.c
@@ -514,8 +514,8 @@ read_seed_file(void)
/* And read a few bytes from our entropy source. By using
* a level of 0 this will not block and might not return anything
* with some entropy drivers, however the rndlinux driver will use
- * /dev/urandom and return some stuff - Do not read to much as we
- * want to be friendly to the scare system entropy resource. */
+ * /dev/urandom and return some stuff - Do not read too much as we
+ * want to be friendly to the scarce system entropy resource. */
read_random_source( 0, 16, 0 );
allow_seed_file_update = 1;
diff --git a/cipher/rndw32.c b/cipher/rndw32.c
index 2d107e009..aec5fbbfd 100644
--- a/cipher/rndw32.c
+++ b/cipher/rndw32.c
@@ -534,7 +534,7 @@ rndw32_gather_random (void (*add)(const void*, size_t, int), int requester,
if( !level )
return 0;
/* We don't differentiate between level 1 and 2 here because
- * there is no nternal entropy pool as a scary resource. It may
+ * there is no internal entropy pool as a scarce resource. It may
* all work slower, but because our entropy source will never
* block but deliver some not easy to measure entropy, we assume level 2
*/