Home GnuPG

Add a configuration file to disable hardware features.
5e1239b1e294Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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>

Details

Provenance
wernerAuthored on Dec 12 2013, 8:26 PM
Parents
rC4ae77322b681: Move list of hardware features to hwfeatures.c.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC5e1239b1e294: Add a configuration file to disable hardware features. (authored by Werner Koch <wk@gnupg.org>).Dec 12 2013, 8:26 PM