diff options
author | Werner Koch <wk@gnupg.org> | 2014-01-31 22:47:11 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-01-31 22:47:11 +0100 |
commit | 2ba818de1aa311ba8eb27012d69e93dd16e7d4ed (patch) | |
tree | 5878c51dc8c35046bf6641e9e5c5d2acfff8517d /kbx | |
parent | gpg: Improve --version algo info output. (diff) | |
download | gnupg2-2ba818de1aa311ba8eb27012d69e93dd16e7d4ed.tar.xz gnupg2-2ba818de1aa311ba8eb27012d69e93dd16e7d4ed.zip |
gpg: Add configure options to disable algorithms
* acinclude.m4 (GNUPG_GPG_DISABLE_ALGO): New.
* configure.ac: Add --enable-gpg-* options to disable non MUS
algorithms.
* g10/misc.c (map_cipher_openpgp_to_gcry): Implement these options.
(openpgp_pk_test_algo2): Ditto.
(map_md_openpgp_to_gcry): Ditto.
(openpgp_cipher_test_algo, openpgp_md_test_algo): Simplify.
--
We have a similar feature in GnuPG-1. Although we don't shrink the
size of the gpg binary by disabling algorithms (they are implemented
in Libgcrypt), this feature may still be useful for inerop testing.
Diffstat (limited to 'kbx')
0 files changed, 0 insertions, 0 deletions