Make ssl3_cbc_digest_record() use the real data_size
[openssl.git] / providers / implementations / macs / hmac_prov.c
index 3376395a172fea0f2f4d5385ae889cacf5888c6e..f6cb544f64e0a91ff39cf527f8ca4367675e4b82 100644 (file)
@@ -65,7 +65,7 @@ int ssl3_cbc_digest_record(const EVP_MD *md,
                            size_t *md_out_size,
                            const unsigned char header[13],
                            const unsigned char *data,
-                           size_t data_plus_mac_size,
+                           size_t data_size,
                            size_t data_plus_mac_plus_padding_size,
                            const unsigned char *mac_secret,
                            size_t mac_secret_length, char is_sslv3);