aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/gpg.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 276a35b43..ac4df6b41 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -362,6 +362,8 @@ enum cmd_and_opt_values
oAutoKeyLocate,
oNoAutoKeyLocate,
oAllowMultisigVerification,
+ oEnableDSA2,
+ oDisableDSA2,
oNoop
};
@@ -699,6 +701,8 @@ static ARGPARSE_OPTS opts[] = {
{ oDebugCCIDDriver, "debug-ccid-driver", 0, "@"},
#endif
{ oAllowMultisigVerification, "allow-multisig-verification", 0, "@"},
+ { oEnableDSA2, "enable-dsa2", 0, "@"},
+ { oDisableDSA2, "disable-dsa2", 0, "@"},
/* These two are aliases to help users of the PGP command line
product use gpg with minimal pain. Many commands are common
@@ -2659,6 +2663,9 @@ main (int argc, char **argv )
opt.allow_multisig_verification = 1;
break;
+ case oEnableDSA2: opt.flags.dsa2=1; break;
+ case oDisableDSA2: opt.flags.dsa2=0; break;
+
case oNoop: break;
default : pargs.err = configfp? 1:2; break;