aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sm/gpgsm.h')
-rw-r--r--sm/gpgsm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sm/gpgsm.h b/sm/gpgsm.h
index acb9332ba..0eec0c025 100644
--- a/sm/gpgsm.h
+++ b/sm/gpgsm.h
@@ -155,8 +155,13 @@ struct
* sunch an OID during --learn-card. */
strlist_t ignore_cert_with_oid;
+ /* The current compliance mode. */
enum gnupg_compliance_mode compliance;
+ /* Fail if an operation can't be done in the requested compliance
+ * mode. */
+ int require_compliance;
+
/* Enable creation of authenticode signatures. */
int authenticode;
@@ -274,6 +279,8 @@ struct rootca_flags_s
/*-- gpgsm.c --*/
+extern int gpgsm_errors_seen;
+
void gpgsm_exit (int rc);
void gpgsm_init_default_ctrl (struct server_control_s *ctrl);
void gpgsm_deinit_default_ctrl (ctrl_t ctrl);