diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cipher-proto.h | 2 | ||||
-rw-r--r-- | src/context.c | 2 | ||||
-rw-r--r-- | src/fips.c | 4 | ||||
-rw-r--r-- | src/gcrypt.h.in | 4 | ||||
-rw-r--r-- | src/global.c | 4 | ||||
-rw-r--r-- | src/sexp.c | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/src/cipher-proto.h b/src/cipher-proto.h index 3bca9c71..d1ddc5dd 100644 --- a/src/cipher-proto.h +++ b/src/cipher-proto.h @@ -92,7 +92,7 @@ typedef const char *(*pk_get_curve_t)(gcry_sexp_t keyparms, int iterator, typedef gcry_sexp_t (*pk_get_curve_param_t)(const char *name); -/* Module specification structure for public key algoritms. */ +/* Module specification structure for public key algorithms. */ typedef struct gcry_pk_spec { int algo; diff --git a/src/context.c b/src/context.c index 94e5be9e..f77878bc 100644 --- a/src/context.c +++ b/src/context.c @@ -47,7 +47,7 @@ struct gcry_context /* Allocate a fresh generic context of contect TYPE and allocate LENGTH extra bytes for private use of the type handler. DEINIT is a - fucntion used called to deinitialize the private part; it may be + function used called to deinitialize the private part; it may be NULL if de-initialization is not required. Returns NULL and sets ERRNO if memory allocation failed. */ gcry_ctx_t @@ -102,7 +102,7 @@ _gcry_initialize_fips_mode (int force) static int done; gpg_error_t err; - /* Make sure we are not accidently called twice. */ + /* Make sure we are not accidentally called twice. */ if (done) { if ( fips_mode () ) @@ -377,7 +377,7 @@ _gcry_fips_is_operational (void) (GCRYCTL_INITIALIZATION_FINISHED) where the latter will run the selftests. The drawback of these on-demand self-tests are a small chance that self-tests are - performed by severeal threads; that is no problem because + performed by several threads; that is no problem because our FSM make sure that we won't oversee any error. */ unlock_fsm (); _gcry_fips_run_selftests (0); diff --git a/src/gcrypt.h.in b/src/gcrypt.h.in index 5ddeee3e..93b1f43f 100644 --- a/src/gcrypt.h.in +++ b/src/gcrypt.h.in @@ -583,7 +583,7 @@ gcry_error_t gcry_mpi_print (enum gcry_mpi_format format, size_t *nwritten, const gcry_mpi_t a); -/* Convert the big integer A int the external representation described +/* Convert the big integer A into the external representation described by FORMAT and store it in a newly allocated buffer which address will be put into BUFFER. NWRITTEN receives the actual lengths of the external representation. */ @@ -1598,7 +1598,7 @@ gcry_error_t gcry_prime_generate (gcry_mpi_t *prime, /* Find a generator for PRIME where the factorization of (prime-1) is in the NULL terminated array FACTORS. Return the generator as a newly allocated MPI in R_G. If START_G is not NULL, use this as - teh start for the search. */ + the start for the search. */ gcry_error_t gcry_prime_group_generator (gcry_mpi_t *r_g, gcry_mpi_t prime, gcry_mpi_t *factors, diff --git a/src/global.c b/src/global.c index 22903930..889de4c4 100644 --- a/src/global.c +++ b/src/global.c @@ -305,7 +305,7 @@ print_config ( int (*fnc)(FILE *fp, const char *format, ...), FILE *fp) fnc (fp, "%s:", s); fnc (fp, "\n"); /* We use y/n instead of 1/0 for the simple reason that Emacsen's - compile error parser would accidently flag that line when printed + compile error parser would accidentally flag that line when printed during "make check" as an error. */ fnc (fp, "fips-mode:%c:%c:\n", fips_mode ()? 'y':'n', @@ -867,7 +867,7 @@ _gcry_free (void *p) return; /* In case ERRNO is set we better save it so that the free machinery - may not accidently change ERRNO. We restore it only if it was + may not accidentally change ERRNO. We restore it only if it was already set to comply with the usual C semantic for ERRNO. */ save_errno = errno; if (free_func) @@ -53,7 +53,7 @@ data) is required as well. The close_tag finishes the list and would actually be sufficient. For fail-safe reasons a final stop tag is always the last byte in a buffer; it has a value of 0 so - that string function accidently applied to an S-expression will + that string function accidentally applied to an S-expression will never access unallocated data. We do not support display hints and thus don't need to represent them. A list may have more an arbitrary number of data elements but at least one is required. |