diff options
author | Kevin Steves <stevesk@pobox.com> | 2002-04-25 20:17:04 +0200 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2002-04-25 20:17:04 +0200 |
commit | 0ea1d9d1f26cf2aa9871fd2050037d5f6407a6b9 (patch) | |
tree | 1278b9ccbe128d740e2c652fc2f3df3d04e93095 /sshd.c | |
parent | - (stevesk) [defines.h] remove USE_TIMEVAL; unused (diff) | |
download | openssh-0ea1d9d1f26cf2aa9871fd2050037d5f6407a6b9.tar.xz openssh-0ea1d9d1f26cf2aa9871fd2050037d5f6407a6b9.zip |
- (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 '')
-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 $"); #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; |