summaryrefslogtreecommitdiff
path: root/random/random-fips.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-04-12 21:00:13 +0000
committerWerner Koch <wk@gnupg.org>2010-04-12 21:00:13 +0000
commitb27adc0e2c1a785e11ad2cb3e7ae06ebfffc4659 (patch)
treed4328e71da78835577378bd593b55107ae12e59b /random/random-fips.c
parent0af2459c2da81c3e346b145948c1b94d49105b52 (diff)
downloadlibgcrypt-b27adc0e2c1a785e11ad2cb3e7ae06ebfffc4659.tar.gz
Applied spelling fixes and more verbose test diagnositcs by Brad Hards.
Diffstat (limited to 'random/random-fips.c')
-rw-r--r--random/random-fips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/random/random-fips.c b/random/random-fips.c
index 2667e71f..f9a21d08 100644
--- a/random/random-fips.c
+++ b/random/random-fips.c
@@ -135,7 +135,7 @@ struct rng_context
unsigned char guard_2[1];
- /* The last result from the x931_aes fucntion. Only valid if
+ /* The last result from the x931_aes function. Only valid if
compare_value_valid is set. */
unsigned char compare_value[16];
@@ -997,7 +997,7 @@ _gcry_rngfips_selftest (selftest_report_func_t report)
char buffer[8];
/* Do a simple test using the public interface. This will also
- enforce full intialization of the RNG. We need to be fully
+ enforce full initialization of the RNG. We need to be fully
initialized due to the global requirement of the
tempvalue_for_x931_aes_driver stuff. */
gcry_randomize (buffer, sizeof buffer, GCRY_STRONG_RANDOM);