Home GnuPG
Diffusion GnuPG 04d58ff84755

gpg: --compliance={pgp7, pgp8} also now restore default options

Description

gpg: --compliance={pgp7, pgp8} also now restore default options

* g10/gpg.c (set_compliance_option): oPGP7 and oPGP8 both restore
policy-relevant default options before setting the compliance flag.

With this change, any ordering of --compliance options will always
result in the options selected from the last option given.

  • GnuPG-bug-id: T7501
  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>