]> andersk Git - openssh.git/blobdiff - authfile.c
set SHELL in Makefile in case someone makes from a non bourne compatable shell
[openssh.git] / authfile.c
index e35714e93be7cf9ced5242081e43cb127bb7f8ae..de8b1022ee4a4232ca9d75798b35526ddd88e1d2 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.48 2002/02/28 15:46:33 markus Exp $");
 
 #include <openssl/err.h>
 #include <openssl/evp.h>
@@ -168,8 +168,8 @@ 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;
-       EVP_CIPHER *cipher = (len > 0) ? EVP_des_ede3_cbc() : NULL;
+       u_char *passphrase = (len > 0) ? (u_char *)_passphrase : 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);
This page took 0.056448 seconds and 4 git commands to generate.