diff options
author | Ben Laurie <ben@links.org> | 2013-01-30 16:56:30 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-02-05 16:50:33 +0000 |
commit | 2928cb4c82d6516d9e65ede4901a5957d8c39c32 (patch) | |
tree | ed17442f124163ffa87c516bdbd0ed1d293d7c36 /ssl/d1_enc.c | |
parent | a33e6702a0db1b9f4648d247b8b28a5c0e42ca13 (diff) |
Fixups.
Diffstat (limited to 'ssl/d1_enc.c')
-rw-r--r-- | ssl/d1_enc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ssl/d1_enc.c b/ssl/d1_enc.c index 0ff1b41ae1..ab8ccd1f6b 100644 --- a/ssl/d1_enc.c +++ b/ssl/d1_enc.c @@ -136,9 +136,9 @@ int dtls1_enc(SSL *s, int send) if (send) { - if (EVP_MD_CTX_md(s->write_hash)) + if (s->write_hash) { - mac_size=EVP_MD_CTX_size(s->write_hash); + mac_size=EVP_MD_size(s->write_hash); if (mac_size < 0) return -1; } @@ -162,9 +162,9 @@ int dtls1_enc(SSL *s, int send) } else { - if (EVP_MD_CTX_md(s->read_hash)) + if (s->read_hash) { - mac_size=EVP_MD_CTX_size(s->read_hash); + mac_size=EVP_MD_size(s->read_hash); if (mac_size < 0) return -1; } |