about summary refs log tree commit diff
path: root/crypt
diff options
context:
space:
mode:
Diffstat (limited to 'crypt')
-rw-r--r--crypt/badsalttest.c2
-rw-r--r--crypt/crypt_util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypt/badsalttest.c b/crypt/badsalttest.c
index b8239a695b..5e1c65d5c2 100644
--- a/crypt/badsalttest.c
+++ b/crypt/badsalttest.c
@@ -29,7 +29,7 @@ static const char *tests[][2] =
     { "first char bad", "!x" },
     { "second char bad", "Z%" },
     { "both chars bad", ":@" },
-    { "un$upported algorithm", "$2$" },
+    { "unsupported algorithm", "$2$" },
     { "unsupported_algorithm", "_1" },
   };
 
diff --git a/crypt/crypt_util.c b/crypt/crypt_util.c
index d095ab04a4..daca4f72dc 100644
--- a/crypt/crypt_util.c
+++ b/crypt/crypt_util.c
@@ -204,7 +204,7 @@ static const ufc_long longmask[32] = {
  * do_pc1: permform pc1 permutation in the key schedule generation.
  *
  * The first   index is the byte number in the 8 byte ASCII key
- *  -  second    -      -    the two 28 bits halfs of the result
+ *  -  second    -      -    the two 28 bits halves of the result
  *  -  third     -   selects the 7 bits actually used of each byte
  *
  * The result is kept with 28 bit per 32 bit with the 4 most significant