]> andersk Git - gssapi-openssh.git/commitdiff
need to call init_pathnames() earlier in main(), before we use
authorjbasney <jbasney>
Wed, 3 Sep 2003 16:15:10 +0000 (16:15 +0000)
committerjbasney <jbasney>
Wed, 3 Sep 2003 16:15:10 +0000 (16:15 +0000)
_PATH_HOST_RSA_KEY_FILE and _PATH_HOST_DSA_KEY_FILE.

openssh/ssh-keysign.c

index e46965a7cab28463ff9d1afbd53f47dd23214bc9..d46ebdb20f23b0dffc94f9d32986f29d5656339b 100644 (file)
@@ -149,10 +149,11 @@ main(int argc, char **argv)
        u_int slen, dlen;
        u_int32_t rnd[256];
 
+       init_pathnames();
+
        key_fd[0] = open(_PATH_HOST_RSA_KEY_FILE, O_RDONLY);
        key_fd[1] = open(_PATH_HOST_DSA_KEY_FILE, O_RDONLY);
 
-       init_pathnames();
        seteuid(getuid());
        setuid(getuid());
 
This page took 0.10142 seconds and 5 git commands to generate.