aboutsummaryrefslogtreecommitdiffstats
path: root/common/status.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-04-05 19:32:23 +0000
committerWerner Koch <[email protected]>2023-04-05 19:32:23 +0000
commitc9e95b8dee05b9a837419fdef9a98f0b3e9671ed (patch)
treec8f574986ea2a49707e5c29e7102bbd88c9478f3 /common/status.h
parentspeedo,w32: Remove removed profiles and temporary disable runonce. (diff)
downloadgnupg-c9e95b8dee05b9a837419fdef9a98f0b3e9671ed.tar.gz
gnupg-c9e95b8dee05b9a837419fdef9a98f0b3e9671ed.zip
gpg: New option --assert-signer.
* g10/gpg.c (enum cmd_and_opt_values): Add oAssertSigner. (opts): Add "assert-signer". (main): Set option. (assert_signer_true): New var. (g10_exit): Evaluate new var. * g10/main.h (assert_signer_true): Declare new var. * common/status.h (STATUS_ASSERT_SIGNER): New. * g10/options.h (opt): Add field assert_signer_list. * g10/verify.c (is_fingerprint): New. (check_assert_signer_list): New. * g10/mainproc.c (check_sig_and_print): Call that function. Clear assert_signer_true on a warning. * g10/gpgv.c: Add dummy function and vars. * g10/t-keydb-get-keyblock.c: Ditto. * g10/t-keydb.c: Ditto. * g10/t-stutter.c: Ditto. --
Diffstat (limited to 'common/status.h')
-rw-r--r--common/status.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/status.h b/common/status.h
index 0c481d247..e4cf23ee1 100644
--- a/common/status.h
+++ b/common/status.h
@@ -53,6 +53,7 @@ enum
STATUS_NEED_PASSPHRASE,
STATUS_VALIDSIG,
+ STATUS_ASSERT_SIGNER,
STATUS_SIG_ID,
STATUS_ENC_TO,
STATUS_NODATA,