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, 0 insertions, 4 deletions
diff --git a/g10/encrypt.c b/g10/encrypt.c
index a4863fa5d..fbf355ecb 100644
--- a/g10/encrypt.c
+++ b/g10/encrypt.c
@@ -262,10 +262,6 @@ use_aead (pk_list_t pk_list, int algo)
{
int can_use;
- if (!(opt.compat_flags & COMPAT_VSD_ALLOW_OCB)
- && opt.compliance == CO_DE_VS)
- return 0; /* Not yet allowed. */
-
can_use = openpgp_cipher_get_algo_blklen (algo) == 16;
/* With --force-aead we want AEAD. */