summaryrefslogtreecommitdiff
path: root/src/fips.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2008-11-05 17:21:57 +0000
committerWerner Koch <wk@gnupg.org>2008-11-05 17:21:57 +0000
commit76116202872239eaa02a92f08a2f5bd69325debc (patch)
tree5f7c0b6ec158567b38497bcea6edf06bc68e9d11 /src/fips.c
parent179d9f61f703cbfccd171257c390cfa197723be9 (diff)
downloadlibgcrypt-76116202872239eaa02a92f08a2f5bd69325debc.tar.gz
Add a method to disable the weak key detection.
Add a method to return the current input block. Use this in the FIPS driver.
Diffstat (limited to 'src/fips.c')
-rw-r--r--src/fips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fips.c b/src/fips.c
index f2d898b1..6e0c9ece 100644
--- a/src/fips.c
+++ b/src/fips.c
@@ -262,8 +262,8 @@ unlock_fsm (void)
int
_gcry_fips_mode (void)
{
- /* No locking is required becuase we have the requirement that this
- variable is only intialized once with no other threads
+ /* No locking is required because we have the requirement that this
+ variable is only initialized once with no other threads
existing. */
return !no_fips_mode_required;
}