summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/authfile.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2002-02-24 19:14:59 +0000
committermarkus <markus@openbsd.org>2002-02-24 19:14:59 +0000
commit46a655d6003f6c6242f3cb343879e1d4479217fc (patch)
treed62b4cb60e1816bf6e49d8c53b0201cc9ec4681a /usr.bin/ssh/authfile.c
parentProper screenblank semantics (diff)
downloadwireguard-openbsd-46a655d6003f6c6242f3cb343879e1d4479217fc.tar.xz
wireguard-openbsd-46a655d6003f6c6242f3cb343879e1d4479217fc.zip
signed vs. unsigned: make size arguments u_int, ok stevesk@
Diffstat (limited to 'usr.bin/ssh/authfile.c')
-rw-r--r--usr.bin/ssh/authfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/authfile.c b/usr.bin/ssh/authfile.c
index 772ee940194..c84b41a6103 100644
--- a/usr.bin/ssh/authfile.c
+++ b/usr.bin/ssh/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) {