summaryrefslogtreecommitdiffstats
path: root/providers/implementations/ciphers/cipher_tdes_wrap.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-10-10 18:16:19 +0200
committerRichard Levitte <levitte@openssl.org>2019-10-11 15:58:15 +0200
commit5b084ca0492cee7aeca63e0a50dbff7487e3ee41 (patch)
tree3e8a776e72fb507317918ace9be3de6e81a2674d /providers/implementations/ciphers/cipher_tdes_wrap.c
parentff33581c67928d2c21f1e853bca3a561335d4c3e (diff)
Remove EVP_CIPH_FLAG_CUSTOM_CIPHER in all our providers
Not needed any more, since the presence of the OSSL_FUNC_CIPHER_CIPHER function is enough to tell that there's a custom cipher function. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10137)
Diffstat (limited to 'providers/implementations/ciphers/cipher_tdes_wrap.c')
-rw-r--r--providers/implementations/ciphers/cipher_tdes_wrap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/providers/implementations/ciphers/cipher_tdes_wrap.c b/providers/implementations/ciphers/cipher_tdes_wrap.c
index b26f2cb403..d899985202 100644
--- a/providers/implementations/ciphers/cipher_tdes_wrap.c
+++ b/providers/implementations/ciphers/cipher_tdes_wrap.c
@@ -15,9 +15,7 @@
#include "prov/providercommonerr.h"
/* TODO (3.0) Figure out what flags are requred */
-#define TDES_WRAP_FLAGS (EVP_CIPH_WRAP_MODE \
- | EVP_CIPH_CUSTOM_IV \
- | EVP_CIPH_FLAG_CUSTOM_CIPHER)
+#define TDES_WRAP_FLAGS (EVP_CIPH_WRAP_MODE | EVP_CIPH_CUSTOM_IV)
static OSSL_OP_cipher_update_fn tdes_wrap_update;