From 070c23325af4526c9a8532a60d63522c58d5554b Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Thu, 8 Oct 2015 22:00:27 +0200 Subject: Remove useless code RT#4081 Reviewed-by: Rich Salz Reviewed-by: Richard Levitte --- crypto/evp/e_aes_cbc_hmac_sha256.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'crypto/evp/e_aes_cbc_hmac_sha256.c') diff --git a/crypto/evp/e_aes_cbc_hmac_sha256.c b/crypto/evp/e_aes_cbc_hmac_sha256.c index e83969de76..411c770868 100644 --- a/crypto/evp/e_aes_cbc_hmac_sha256.c +++ b/crypto/evp/e_aes_cbc_hmac_sha256.c @@ -820,8 +820,6 @@ static int aesni_cbc_hmac_sha256_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, if (arg != EVP_AEAD_TLS1_AAD_LEN) return -1; - len = p[arg - 2] << 8 | p[arg - 1]; - if (ctx->encrypt) { key->payload_length = len; if ((key->aux.tls_ver = -- cgit v1.2.3