diff options
author | Werner Koch <wk@gnupg.org> | 2008-11-05 17:21:57 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2008-11-05 17:21:57 +0000 |
commit | 76116202872239eaa02a92f08a2f5bd69325debc (patch) | |
tree | 5f7c0b6ec158567b38497bcea6edf06bc68e9d11 /src/fips.c | |
parent | 179d9f61f703cbfccd171257c390cfa197723be9 (diff) | |
download | libgcrypt-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |