diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2017-04-28 09:27:00 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2017-04-28 09:27:00 +0900 |
commit | 9b651fb632f3697e70685c9ee340ab0cb2274bdf (patch) | |
tree | f8d32662197433f86b33b9ed9a2063e7517e79f0 /src | |
parent | 719468e53133d3bdf12156c5bfdea2bf15f9f6f1 (diff) | |
download | libgcrypt-9b651fb632f3697e70685c9ee340ab0cb2274bdf.tar.gz |
Spelling fixes in docs and comments.
--
GnuPG-bug-id: 3120
Reported-by: ka7 (klemens)
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/gcrypt.h.in | 4 | ||||
-rw-r--r-- | src/global.c | 2 | ||||
-rw-r--r-- | src/secmem.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gcrypt.h.in b/src/gcrypt.h.in index 5727abba..8e499672 100644 --- a/src/gcrypt.h.in +++ b/src/gcrypt.h.in @@ -391,7 +391,7 @@ gcry_error_t gcry_sexp_build_array (gcry_sexp_t *retsexp, size_t *erroff, /* Release the S-expression object SEXP */ void gcry_sexp_release (gcry_sexp_t sexp); -/* Calculate the length of an canonized S-expresion in BUFFER and +/* Calculate the length of an canonized S-expression in BUFFER and check for a valid encoding. */ size_t gcry_sexp_canon_len (const unsigned char *buffer, size_t length, size_t *erroff, gcry_error_t *errcode); @@ -1669,7 +1669,7 @@ gcry_error_t gcry_prime_group_generator (gcry_mpi_t *r_g, void gcry_prime_release_factors (gcry_mpi_t *factors); -/* Check wether the number X is prime. */ +/* Check whether the number X is prime. */ gcry_error_t gcry_prime_check (gcry_mpi_t x, unsigned int flags); diff --git a/src/global.c b/src/global.c index 25815dd3..0796a945 100644 --- a/src/global.c +++ b/src/global.c @@ -581,7 +581,7 @@ _gcry_vcontrol (enum gcry_ctl_cmds cmd, va_list arg_ptr) _gcry_set_preferred_rng_type (0); if (!any_init_done) { - /* Not yet intialized at all. Set a flag so that we are put + /* Not yet initialized at all. Set a flag so that we are put into fips mode during initialization. */ force_fips_mode = 1; } diff --git a/src/secmem.c b/src/secmem.c index 55424f21..8eb66307 100644 --- a/src/secmem.c +++ b/src/secmem.c @@ -91,7 +91,7 @@ typedef struct pooldesc_s static pooldesc_t mainpool; -/* A couple of flags whith some beeing set early. */ +/* A couple of flags whith some being set early. */ static int disable_secmem; static int show_warning; static int not_locked; |