From: Dr. Stephen Henson Date: Wed, 4 Nov 2009 12:58:54 +0000 (+0000) Subject: PR: 2089 X-Git-Tag: OpenSSL_0_9_8m-beta1~69 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d7d4325655f12b0cb02ce50def47c8967df00cf0;p=oweals%2Fopenssl.git PR: 2089 Submitted by: David Woodhouse Approved by: steve@openssl.org Use EVP_MD_size() in OpenSSL 0.9.8. --- 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;