diff options
author | djm <djm> | 2002-02-05 00:54:07 +0000 |
---|---|---|
committer | djm <djm> | 2002-02-05 00:54:07 +0000 |
commit | 2b1d07f662b23086ab42cb42d81a3de0d9b4528f (patch) | |
tree | f8d17c9303cf620219db55706a43583d09a6eadc /kex.c | |
parent | dcdf4e04d2680af1399e73f16325e2a8f7991179 (diff) | |
download | openssh-2b1d07f662b23086ab42cb42d81a3de0d9b4528f.tar.gz |
- 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 'kex.c')
-rw-r--r-- | kex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: kex.c,v 1.42 2002/01/11 13:39:36 markus Exp $"); +RCSID("$OpenBSD: kex.c,v 1.43 2002/01/25 22:07:40 markus Exp $"); #include <openssl/crypto.h> @@ -363,7 +363,7 @@ derive_key(Kex *kex, int id, int need, u_char *hash, BIGNUM *shared_secret) EVP_MD_CTX md; char c = id; int have; - int mdsz = evp_md->md_size; + int mdsz = EVP_MD_size(evp_md); u_char *digest = xmalloc(roundup(need, mdsz)); buffer_init(&b); |