aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sm/gpgsm.h')
-rw-r--r--sm/gpgsm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sm/gpgsm.h b/sm/gpgsm.h
index fce2767d5..5e7db4bec 100644
--- a/sm/gpgsm.h
+++ b/sm/gpgsm.h
@@ -143,7 +143,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;
+
} opt;
/* Debug values and macros. */
@@ -234,6 +240,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);
int gpgsm_parse_validation_model (const char *model);