diff options
author | Daniel Kahn Gillmor via Gnupg-devel <[email protected]> | 2025-01-31 17:37:17 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2025-02-03 10:21:16 +0000 |
commit | 0bdf5859935e3db15baaf5d0d96b723ddbd2acd5 (patch) | |
tree | 9dac53c22b6af56f75645996c88818830cc290ac /dirmngr/dirmngr-client.c | |
parent | gpg: --compliance=rfc2440 does not require cross-certification (diff) | |
download | gnupg-0bdf5859935e3db15baaf5d0d96b723ddbd2acd5.tar.gz gnupg-0bdf5859935e3db15baaf5d0d96b723ddbd2acd5.zip |
gpg: --compliance=gnupg restores default for policy-affected options
* g10/gpg.c (set_compliance_option): oGnuPG restores default
policy-affected options, moved from...
(main): ...here. Invoke set_compliance_option(oGnuPG) directly
instead of just setting opt.compliance.
--
Some of these default option values (flags.dsa2, rfc2440_text,
allow_non_selfsigned_uid, allow_freeform_uid) had to be inferrerd from
the fact that the opt struct is static and therefore initialized to
zero by the compiler.
With this change, --compliance=gnupg now completely reverts to the
defaults that were changed from other --compliance= options.
GnuPG-bug-id: T7501
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to 'dirmngr/dirmngr-client.c')
0 files changed, 0 insertions, 0 deletions