Submitted by: David Woodhouse <dwmw2@infradead.org>
Approved by: steve@openssl.org

Use EVP_MD_size() in OpenSSL 0.9.8.
This commit is contained in:
Dr. Stephen Henson
2009-11-04 12:58:54 +00:00
parent 9f81ffe433
commit d7d4325655

View File

@@ -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;