summaryrefslogtreecommitdiff
path: root/kexgex.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 /kexgex.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 'kexgex.c')
-rw-r--r--kexgex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexgex.c b/kexgex.c
index 6b6d1d2e..b50a7114 100644
--- a/kexgex.c
+++ b/kexgex.c
@@ -24,7 +24,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: kexgex.c,v 1.15 2001/12/28 14:50:54 markus Exp $");
+RCSID("$OpenBSD: kexgex.c,v 1.16 2002/01/25 22:07:40 markus Exp $");
#include <openssl/bn.h>
@@ -92,7 +92,7 @@ kexgex_hash(
buffer_free(&b);
#ifdef DEBUG_KEXDH
- dump_digest("hash", digest, evp_md->md_size);
+ dump_digest("hash", digest, EVP_MD_size(evp_md));
#endif
return digest;
}