summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSamanta Navarro <ferivoz@riseup.net>2020-10-10 11:16:27 +0000
committerSamanta Navarro <ferivoz@riseup.net>2020-10-10 11:16:27 +0000
commitd3c5b3dd41e13a17a42d1af278f99720adaa23d4 (patch)
tree7375313352e490c399c6fa421b27c2c55e309db4 /lib
parentb4754974c5973e2e9f7934763ad2d0eb3e29777c (diff)
downloadlibxcrypt-d3c5b3dd41e13a17a42d1af278f99720adaa23d4.tar.gz
libxcrypt-d3c5b3dd41e13a17a42d1af278f99720adaa23d4.tar.bz2
libxcrypt-d3c5b3dd41e13a17a42d1af278f99720adaa23d4.zip
Fix typos.
Typos were found with codespell.
Diffstat (limited to 'lib')
-rw-r--r--lib/alg-hmac-sha1.h2
-rw-r--r--lib/crypt-des.c2
-rw-r--r--lib/xcrypt.h.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/alg-hmac-sha1.h b/lib/alg-hmac-sha1.h
index 78e08f0..1aea49a 100644
--- a/lib/alg-hmac-sha1.h
+++ b/lib/alg-hmac-sha1.h
@@ -27,7 +27,7 @@
*/
/* Generate the keyed-hash message authentication code of TEXT and KEY.
- The resulting HMAC is writen into RESBUF, which should point to 20
+ The resulting HMAC is written into RESBUF, which should point to 20
bytes of storage. */
extern void
hmac_sha1_process_data (const uint8_t *text, size_t text_len,
diff --git a/lib/crypt-des.c b/lib/crypt-des.c
index 402f99c..e3509ec 100644
--- a/lib/crypt-des.c
+++ b/lib/crypt-des.c
@@ -215,7 +215,7 @@ crypt_descrypt_rn (const char *phrase, size_t ARG_UNUSED (phr_size),
Description: The cleartext is divided into blocks of 8 characters
or less. Each block is encrypted using the standard UNIX libc crypt
function. The result of the encryption for one block provides the
- salt for the suceeding block. The output is simply the
+ salt for the succeeding block. The output is simply the
concatenation of all the blocks. Up to 16 blocks are supported
(that is, the password can be no more than 128 characters long).
diff --git a/lib/xcrypt.h.in b/lib/xcrypt.h.in
index 332722c..cec24b2 100644
--- a/lib/xcrypt.h.in
+++ b/lib/xcrypt.h.in
@@ -28,7 +28,7 @@
(v3.1.1 and earlier) of libxcrypt.
We intentionally declare these functions using macros here,
since we actually want to link compiled applications against
- the unprefixed indentical functions defined in <crypt.h>. */
+ the unprefixed identical functions defined in <crypt.h>. */
#ifndef IN_LIBCRYPT /* Defined when building libxcrypt. */
# ifdef __REDIRECT_NTH
extern char * __REDIRECT_NTH (xcrypt, (const char *__phrase,