Use orig_len, not rec->orig_len
authorGeoff Lowe <Geoff_Lowe@McAfee.com>
Tue, 26 Feb 2013 17:12:13 +0000 (17:12 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 26 Feb 2013 17:12:13 +0000 (17:12 +0000)
ssl/t1_enc.c

index 3dd36b81429dd271160d76ba5c12ab1aef0e2f1a..323d3847d4ad5fc1038ea82d1b8788bcde255ec6 100644 (file)
@@ -768,7 +768,7 @@ int tls1_mac(SSL *ssl, unsigned char *md, int send)
                                        ssl->enc_read_ctx,
                                        hash,
                                        &hmac, rec->input,
-                                       rec->length, rec->orig_len);
+                                       rec->length, orig_len);
 #endif
                }