summaryrefslogtreecommitdiffstats
path: root/ssl/s3_pkt.c
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2013-01-30 16:56:30 +0000
committerDr. Stephen Henson <steve@openssl.org>2013-02-05 16:50:33 +0000
commit2928cb4c82d6516d9e65ede4901a5957d8c39c32 (patch)
treeed17442f124163ffa87c516bdbd0ed1d293d7c36 /ssl/s3_pkt.c
parenta33e6702a0db1b9f4648d247b8b28a5c0e42ca13 (diff)
Fixups.
Diffstat (limited to 'ssl/s3_pkt.c')
-rw-r--r--ssl/s3_pkt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c
index dabcfd2464..0d27f514af 100644
--- a/ssl/s3_pkt.c
+++ b/ssl/s3_pkt.c
@@ -377,7 +377,7 @@ printf("\n");
/* !clear => s->read_hash != NULL => mac_size != -1 */
unsigned char *mac = NULL;
unsigned char mac_tmp[EVP_MAX_MD_SIZE];
- mac_size=EVP_MD_CTX_size(s->read_hash);
+ mac_size=EVP_MD_size(s->read_hash);
OPENSSL_assert(mac_size <= EVP_MAX_MD_SIZE);
/* orig_len is the length of the record before any padding was