diff --git a/test/tls13encryptiontest.c b/test/tls13encryptiontest.c index c696e62d2e..f1e6490f9f 100644 --- a/test/tls13encryptiontest.c +++ b/test/tls13encryptiontest.c @@ -326,10 +326,6 @@ static int test_tls13_encryption(void) for (ctr = 0; ctr < OSSL_NELEM(refdata); ctr++) { /* Load the record */ ivlen = EVP_CIPHER_get_iv_length(ciph); - if (TEST_int_eq((int)ivlen, -1)) { - TEST_error("IV length undefined"); - goto err; - } if (!load_record(&rec, &refdata[ctr], &key, iv, ivlen, seqbuf)) { TEST_error("Failed loading key into EVP_CIPHER_CTX"); goto err;