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 /authfile.c | |
parent | 733a2351f52f8c8451a61f0ae636081f55b019f7 (diff) | |
download | openssh-git-80cb27dd7c7caa07615bf375a3bd090085f2d33d.tar.gz |
- 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 'authfile.c')
-rw-r--r-- | authfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,7 +36,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: authfile.c,v 1.47 2002/02/24 19:14:59 markus Exp $"); +RCSID("$OpenBSD: authfile.c,v 1.48 2002/02/28 15:46:33 markus Exp $"); #include <openssl/err.h> #include <openssl/evp.h> @@ -169,7 +169,7 @@ key_save_private_pem(Key *key, const char *filename, const char *_passphrase, int success = 0; int len = strlen(_passphrase); u_char *passphrase = (len > 0) ? (u_char *)_passphrase : NULL; - EVP_CIPHER *cipher = (len > 0) ? EVP_des_ede3_cbc() : NULL; + const EVP_CIPHER *cipher = (len > 0) ? EVP_des_ede3_cbc() : NULL; if (len > 0 && len <= 4) { error("passphrase too short: have %d bytes, need > 4", len); |