From d7d4325655f12b0cb02ce50def47c8967df00cf0 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 4 Nov 2009 12:58:54 +0000 Subject: [PATCH] PR: 2089 Submitted by: David Woodhouse Approved by: steve@openssl.org Use EVP_MD_size() in OpenSSL 0.9.8. --- ssl/d1_both.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1