aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/g10/misc.c b/g10/misc.c
index 1d30bbc6d..0b19e1a2b 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -1405,8 +1405,12 @@ compliance_failure(void)
break;
case CO_DE_VS:
- ver="DE-VS applications";
- break;
+ /* For de-vs we do not allow any kind of fallback. */
+ write_status_failure ("compliance-check", gpg_error (GPG_ERR_FORBIDDEN));
+ log_error (_("operation forced to fail due to"
+ " unfulfilled compliance rules\n"));
+ g10_errors_seen = 1;
+ return;
}
log_info(_("this message may not be usable by %s\n"),ver);