summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2002-04-25 18:17:04 +0000
committerKevin Steves <stevesk@pobox.com>2002-04-25 18:17:04 +0000
commit0ea1d9d1f26cf2aa9871fd2050037d5f6407a6b9 (patch)
tree1278b9ccbe128d740e2c652fc2f3df3d04e93095 /sshd.c
parent30e494fbca1714ace893b80258af85839f99bc4d (diff)
- (stevesk) [acconfig.h auth-passwd.c configure.ac sshd.c] HP-UX 10.26
support. bug #184. most from dcole@keysoftsys.com.
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/sshd.c b/sshd.c
index 8b1ebb46..f3e4d835 100644
--- 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;