]> andersk Git - openssh.git/blobdiff - sshd.c
- (stevesk) [acconfig.h auth-passwd.c configure.ac sshd.c] HP-UX 10.26
[openssh.git] / sshd.c
diff --git a/sshd.c b/sshd.c
index 8b1ebb46294f0000962edd38c1dbb9f94d10a2b1..f3e4d835e7f96709bfadc9df5305b151c558267c 100644 (file)
--- a/sshd.c
+++ b/sshd.c
@@ -48,6 +48,10 @@ RCSID("$OpenBSD: sshd.c,v 1.240 2002/04/23 22:16:29 djm Exp $");
 #include <openssl/bn.h>
 #include <openssl/md5.h>
 #include <openssl/rand.h>
+#ifdef HAVE_SECUREWARE
+#include <sys/security.h>
+#include <prot.h>
+#endif
 
 #include "ssh.h"
 #include "ssh1.h"
@@ -786,6 +790,9 @@ main(int ac, char **av)
        Key *key;
        int ret, key_used = 0;
 
+#ifdef HAVE_SECUREWARE
+       (void)set_auth_parameters(ac, av);
+#endif
        __progname = get_progname(av[0]);
        init_rng();
 
@@ -998,10 +1005,6 @@ main(int ac, char **av)
        if (test_flag)
                exit(0);
 
-#ifdef HAVE_SCO_PROTECTED_PW
-       (void) set_auth_parameters(ac, av);
-#endif
-
        /* Initialize the log (it is reinitialized below in case we forked). */
        if (debug_flag && !inetd_flag)
                log_stderr = 1;
This page took 0.036665 seconds and 4 git commands to generate.