summaryrefslogtreecommitdiff
path: root/src/fips.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2013-12-12 20:26:56 +0100
committerWerner Koch <wk@gnupg.org>2013-12-12 20:26:56 +0100
commit5e1239b1e2948211ff2675f45cce2b28c3379cfb (patch)
treef9648298cf4f9ee8b5582b87d79b67f12b716860 /src/fips.c
parent4ae77322b681a13da62d01274bcab25be2af12d0 (diff)
downloadlibgcrypt-5e1239b1e2948211ff2675f45cce2b28c3379cfb.tar.gz
Add a configuration file to disable hardware features.
* src/hwfeatures.c: Inclyde syslog.h and ctype.h. (HWF_DENY_FILE): New. (my_isascii): New. (parse_hwf_deny_file): New. (_gcry_detect_hw_features): Call it. * src/mpicalc.c (main): Correctly initialize Libgcrypt. Add options "--print-config" and "--disable-hwf". Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'src/fips.c')
-rw-r--r--src/fips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fips.c b/src/fips.c
index 1d7a6a44..8148dcdb 100644
--- a/src/fips.c
+++ b/src/fips.c
@@ -36,7 +36,7 @@
#include "hmac256.h"
-/* The name of the file used to foce libgcrypt into fips mode. */
+/* The name of the file used to force libgcrypt into fips mode. */
#define FIPS_FORCE_FILE "/etc/gcrypt/fips_enabled"