diff options
author | Kevin Steves <stevesk@pobox.com> | 2002-04-25 18:17:04 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2002-04-25 18:17:04 +0000 |
commit | 0ea1d9d1f26cf2aa9871fd2050037d5f6407a6b9 (patch) | |
tree | 1278b9ccbe128d740e2c652fc2f3df3d04e93095 /sshd.c | |
parent | 30e494fbca1714ace893b80258af85839f99bc4d (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.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -48,6 +48,10 @@ RCSID("$OpenBSD: sshd.c,v 1.240 2002/04/23 22:16:29 djm Exp $"); | |||
48 | #include <openssl/bn.h> | 48 | #include <openssl/bn.h> |
49 | #include <openssl/md5.h> | 49 | #include <openssl/md5.h> |
50 | #include <openssl/rand.h> | 50 | #include <openssl/rand.h> |
51 | #ifdef HAVE_SECUREWARE | ||
52 | #include <sys/security.h> | ||
53 | #include <prot.h> | ||
54 | #endif | ||
51 | 55 | ||
52 | #include "ssh.h" | 56 | #include "ssh.h" |
53 | #include "ssh1.h" | 57 | #include "ssh1.h" |
@@ -786,6 +790,9 @@ main(int ac, char **av) | |||
786 | Key *key; | 790 | Key *key; |
787 | int ret, key_used = 0; | 791 | int ret, key_used = 0; |
788 | 792 | ||
793 | #ifdef HAVE_SECUREWARE | ||
794 | (void)set_auth_parameters(ac, av); | ||
795 | #endif | ||
789 | __progname = get_progname(av[0]); | 796 | __progname = get_progname(av[0]); |
790 | init_rng(); | 797 | init_rng(); |
791 | 798 | ||
@@ -998,10 +1005,6 @@ main(int ac, char **av) | |||
998 | if (test_flag) | 1005 | if (test_flag) |
999 | exit(0); | 1006 | exit(0); |
1000 | 1007 | ||
1001 | #ifdef HAVE_SCO_PROTECTED_PW | ||
1002 | (void) set_auth_parameters(ac, av); | ||
1003 | #endif | ||
1004 | |||
1005 | /* Initialize the log (it is reinitialized below in case we forked). */ | 1008 | /* Initialize the log (it is reinitialized below in case we forked). */ |
1006 | if (debug_flag && !inetd_flag) | 1009 | if (debug_flag && !inetd_flag) |
1007 | log_stderr = 1; | 1010 | log_stderr = 1; |