Home GnuPG
Diffusion GnuPG 2ba818de1aa3

gpg: Add configure options to disable algorithms
2ba818de1aa3Unpublished

Unpublished Commit · Learn More

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

Description

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.

Details

Provenance
wernerAuthored on Jan 31 2014, 10:47 PM
Parents
rG71540d40414d: gpg: Improve --version algo info output.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG2ba818de1aa3: gpg: Add configure options to disable algorithms (authored by Werner Koch <wk@gnupg.org>).Jan 31 2014, 10:47 PM