summaryrefslogtreecommitdiff
path: root/kexdh.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-02-05 11:54:07 +1100
committerDamien Miller <djm@mindrot.org>2002-02-05 11:54:07 +1100
commit3672e4bc7ac19798f169ac7374c77a460d080e4a (patch)
tree1f2b2046346ee70c2b6de426bfca8d106a59d7c7 /kexdh.c
parentc516e928cdaf2ea3dd666a79d4c89a942b242d68 (diff)
- markus@cvs.openbsd.org 2002/01/25 22:07:40
[kex.c kexdh.c kexgex.c key.c mac.c] use EVP_MD_size(evp_md) and not evp_md->md_size; ok steveks@
Diffstat (limited to 'kexdh.c')
-rw-r--r--kexdh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexdh.c b/kexdh.c
index bc4700a2..60d13a8b 100644
--- a/kexdh.c
+++ b/kexdh.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: kexdh.c,v 1.12 2001/12/28 14:50:54 markus Exp $");
+RCSID("$OpenBSD: kexdh.c,v 1.13 2002/01/25 22:07:40 markus Exp $");
#include <openssl/crypto.h>
#include <openssl/bn.h>
@@ -81,7 +81,7 @@ kex_dh_hash(
buffer_free(&b);
#ifdef DEBUG_KEX
- dump_digest("hash", digest, evp_md->md_size);
+ dump_digest("hash", digest, EVP_MD_size(evp_md));
#endif
return digest;
}