diff --git a/providers/implementations/ciphers/cipher_aes_siv.c b/providers/implementations/ciphers/cipher_aes_siv.c index 6a5d211a7d..18be36e9b3 100644 --- a/providers/implementations/ciphers/cipher_aes_siv.c +++ b/providers/implementations/ciphers/cipher_aes_siv.c @@ -49,9 +49,6 @@ static int siv_init(void *vctx, const unsigned char *key, size_t keylen, ctx->enc = enc; - if (iv != NULL) - return 0; - if (key != NULL) { if (keylen != ctx->keylen) { ERR_raise(ERR_LIB_PROV, PROV_R_INVALID_KEY_LENGTH);