summaryrefslogtreecommitdiff
path: root/authfile.c
diff options
context:
space:
mode:
authormouring <mouring>2002-02-26 18:09:42 +0000
committermouring <mouring>2002-02-26 18:09:42 +0000
commit634f2da6c2ca695220717d21f39a5cb59fd07ab1 (patch)
tree6ad85d493deb486fb0f75e37be3ed89ccccd7f68 /authfile.c
parent101dd690d6209ae48a3047c1071989ea4ab627d3 (diff)
downloadopenssh-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/authfile.c b/authfile.c
index e35714e9..50ae9aa7 100644
--- a/authfile.c
+++ b/authfile.c
@@ -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) {