aboutsummaryrefslogtreecommitdiffstats
path: root/g10/encrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/encrypt.c')
-rw-r--r--g10/encrypt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/g10/encrypt.c b/g10/encrypt.c
index aba161ddd..a96a77974 100644
--- a/g10/encrypt.c
+++ b/g10/encrypt.c
@@ -567,10 +567,8 @@ check_encryption_compliance (DEK *dek, pk_list_t pk_list)
&& opt.compliance == CO_DE_VS
&& !compliant)
{
- log_error (_("operation forced to fail due to"
- " unfulfilled compliance rules\n"));
+ compliance_failure ();
err = gpg_error (GPG_ERR_FORBIDDEN);
- g10_errors_seen = 1;
goto leave;
}