aboutsummaryrefslogtreecommitdiffstats
path: root/sm/encrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/encrypt.c')
-rw-r--r--sm/encrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/encrypt.c b/sm/encrypt.c
index 34a5e878b..fbd88b6cd 100644
--- a/sm/encrypt.c
+++ b/sm/encrypt.c
@@ -807,7 +807,7 @@ gpgsm_encrypt (ctrl_t ctrl, certlist_t recplist, int data_fd, estream_t out_fp)
}
}
- if (compliant)
+ if (compliant && gnupg_gcrypt_is_compliant (CO_DE_VS))
gpgsm_status (ctrl, STATUS_ENCRYPTION_COMPLIANCE_MODE,
gnupg_status_compliance_flag (CO_DE_VS));