diff options
author | mouring <mouring> | 2002-02-26 18:09:42 +0000 |
---|---|---|
committer | mouring <mouring> | 2002-02-26 18:09:42 +0000 |
commit | 634f2da6c2ca695220717d21f39a5cb59fd07ab1 (patch) | |
tree | 6ad85d493deb486fb0f75e37be3ed89ccccd7f68 /authfile.c | |
parent | 101dd690d6209ae48a3047c1071989ea4ab627d3 (diff) | |
download | openssh-634f2da6c2ca695220717d21f39a5cb59fd07ab1.tar.gz |
- markus@cvs.openbsd.org 2002/02/24 19:14:59
[auth2.c authfd.c authfd.h authfile.c kexdh.c kexgex.c key.c key.h
ssh-dss.c ssh-dss.h ssh-keygen.c ssh-rsa.c ssh-rsa.h sshconnect2.c]
signed vs. unsigned: make size arguments u_int, ok stevesk@
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.46 2002/02/14 23:41:01 markus Exp $"); +RCSID("$OpenBSD: authfile.c,v 1.47 2002/02/24 19:14:59 markus Exp $"); #include <openssl/err.h> #include <openssl/evp.h> @@ -168,7 +168,7 @@ key_save_private_pem(Key *key, const char *filename, const char *_passphrase, int fd; int success = 0; int len = strlen(_passphrase); - char *passphrase = (len > 0) ? (char *)_passphrase : NULL; + u_char *passphrase = (len > 0) ? (u_char *)_passphrase : NULL; EVP_CIPHER *cipher = (len > 0) ? EVP_des_ede3_cbc() : NULL; if (len > 0 && len <= 4) { |