]> andersk Git - openssh.git/blobdiff - authfile.c
- markus@cvs.openbsd.org 2002/02/24 19:14:59
[openssh.git] / authfile.c
index e35714e93be7cf9ced5242081e43cb127bb7f8ae..50ae9aa7814c158a2d0a94e9249dd95e8fb49a00 100644 (file)
@@ -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) {
This page took 0.031092 seconds and 4 git commands to generate.