diff options
author | Werner Koch <[email protected]> | 2022-02-03 13:14:14 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2022-02-03 13:17:10 +0000 |
commit | e23dc755fa725877ce96eb5a6a6f5788457267f4 (patch) | |
tree | d0c1a1c26a0e2424fe91f4266b4216eb8a2dd7f2 /sm/gpgsm.h | |
parent | gpg: Fix for -Wformat when using uint64_t. (diff) | |
download | gnupg-e23dc755fa725877ce96eb5a6a6f5788457267f4.tar.gz gnupg-e23dc755fa725877ce96eb5a6a6f5788457267f4.zip |
sm: New option --ignore-cert-with-oid.
* sm/gpgsm.c (oIgnoreCertWithOID): New.
(opts): Add option.
(main): Store its value.
* sm/call-agent.c (learn_cb): Test against that list.
Diffstat (limited to 'sm/gpgsm.h')
-rw-r--r-- | sm/gpgsm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sm/gpgsm.h b/sm/gpgsm.h index 0dfd56daf..6dc5927b7 100644 --- a/sm/gpgsm.h +++ b/sm/gpgsm.h @@ -151,6 +151,10 @@ struct OID per string. */ strlist_t ignored_cert_extensions; + /* A list of OIDs which will be used to ignore certificates with + * sunch an OID during --learn-card. */ + strlist_t ignore_cert_with_oid; + enum gnupg_compliance_mode compliance; /* Enable creation of authenticode signatures. */ |