PR: 2089
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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user