summaryrefslogtreecommitdiffstats
path: root/ssl/d1_both.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-11-04 12:58:54 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-11-04 12:58:54 +0000
commitd7d4325655f12b0cb02ce50def47c8967df00cf0 (patch)
tree20b144ce05ae34c1ad55cb992cf2e4695966f1d5 /ssl/d1_both.c
parent9f81ffe43394297ba87a9b3a4d7519f0fc574996 (diff)
PR: 2089
Submitted by: David Woodhouse <dwmw2@infradead.org> Approved by: steve@openssl.org Use EVP_MD_size() in OpenSSL 0.9.8.
Diffstat (limited to 'ssl/d1_both.c')
-rw-r--r--ssl/d1_both.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/d1_both.c b/ssl/d1_both.c
index b7ead8ad22..1d271c1bfa 100644
--- a/ssl/d1_both.c
+++ b/ssl/d1_both.c
@@ -226,7 +226,7 @@ int dtls1_do_write(SSL *s, int type)
(int)s->d1->w_msg_hdr.msg_len + DTLS1_HM_HEADER_LENGTH);
if (s->write_hash)
- mac_size = EVP_MD_CTX_size(s->write_hash);
+ mac_size = EVP_MD_size(s->write_hash);
else
mac_size = 0;