diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-03-05 01:33:36 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-03-05 01:33:36 +0000 |
commit | 80cb27dd7c7caa07615bf375a3bd090085f2d33d (patch) | |
tree | b9ca8e705cd36815131349a021ad0546eb44dda9 /kex.c | |
parent | 733a2351f52f8c8451a61f0ae636081f55b019f7 (diff) |
- markus@cvs.openbsd.org 2002/02/28 15:46:33
[authfile.c kex.c kexdh.c kexgex.c key.c ssh-dss.c]
add some const EVP_MD for openssl-0.9.7
Diffstat (limited to 'kex.c')
-rw-r--r-- | kex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: kex.c,v 1.46 2002/02/23 17:59:02 markus Exp $"); | 26 | RCSID("$OpenBSD: kex.c,v 1.47 2002/02/28 15:46:33 markus Exp $"); |
27 | 27 | ||
28 | #include <openssl/crypto.h> | 28 | #include <openssl/crypto.h> |
29 | 29 | ||
@@ -361,7 +361,7 @@ static u_char * | |||
361 | derive_key(Kex *kex, int id, int need, u_char *hash, BIGNUM *shared_secret) | 361 | derive_key(Kex *kex, int id, int need, u_char *hash, BIGNUM *shared_secret) |
362 | { | 362 | { |
363 | Buffer b; | 363 | Buffer b; |
364 | EVP_MD *evp_md = EVP_sha1(); | 364 | const EVP_MD *evp_md = EVP_sha1(); |
365 | EVP_MD_CTX md; | 365 | EVP_MD_CTX md; |
366 | char c = id; | 366 | char c = id; |
367 | int have; | 367 | int have; |