Fix RC4-MD5 based ciphersuites
[openssl.git] / providers / implementations / ciphers / cipher_rc4_hmac_md5_hw.c
index 73233a2de7ef01e1240742a46f9b91989ac9af2d..8cce02b1c5afe1558f134d49e87382c972e8bd26 100644 (file)
@@ -42,6 +42,7 @@ static int cipher_hw_rc4_hmac_md5_initkey(PROV_CIPHER_CTX *bctx,
     ctx->tail = ctx->head;
     ctx->md = ctx->head;
     ctx->payload_length = NO_PAYLOAD_LENGTH;
+    bctx->removetlsfixed = MD5_DIGEST_LENGTH;
     return 1;
 }