diff options
author | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:40:29 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:40:29 +0000 |
commit | a25ec0b132c44c9e341e08464ff830de06b81126 (patch) | |
tree | e20842d80f9e25cb6cf09525abea63f7bf655dd7 /openbsd-compat/port-uw.c | |
parent | 1b816ea846aca3ee89e7995373ace609e9518424 (diff) | |
parent | 70847d299887abb96f8703ca99db6d817b78960e (diff) |
import openssh-4.7p1-gsskex-20070927.patch
Diffstat (limited to 'openbsd-compat/port-uw.c')
-rw-r--r-- | openbsd-compat/port-uw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsd-compat/port-uw.c b/openbsd-compat/port-uw.c index 6f3523902..ebc229a6a 100644 --- a/openbsd-compat/port-uw.c +++ b/openbsd-compat/port-uw.c | |||
@@ -79,7 +79,7 @@ sys_auth_passwd(Authctxt *authctxt, const char *password) | |||
79 | #endif /* UNIXWARE_LONG_PASSWORDS */ | 79 | #endif /* UNIXWARE_LONG_PASSWORDS */ |
80 | result = (strcmp(xcrypt(password, salt), pw_password) == 0); | 80 | result = (strcmp(xcrypt(password, salt), pw_password) == 0); |
81 | 81 | ||
82 | #if !defined(BROKEN_LIBIAF) | 82 | #ifdef USE_LIBIAF |
83 | if (authctxt->valid) | 83 | if (authctxt->valid) |
84 | free(pw_password); | 84 | free(pw_password); |
85 | #endif | 85 | #endif |
@@ -127,7 +127,7 @@ nischeck(char *namep) | |||
127 | functions that call shadow_pw() will need to free | 127 | functions that call shadow_pw() will need to free |
128 | */ | 128 | */ |
129 | 129 | ||
130 | #if !defined(BROKEN_LIBIAF) | 130 | #ifdef USE_LIBIAF |
131 | char * | 131 | char * |
132 | get_iaf_password(struct passwd *pw) | 132 | get_iaf_password(struct passwd *pw) |
133 | { | 133 | { |
@@ -144,6 +144,6 @@ get_iaf_password(struct passwd *pw) | |||
144 | else | 144 | else |
145 | fatal("ia_openinfo: Unable to open the shadow passwd file"); | 145 | fatal("ia_openinfo: Unable to open the shadow passwd file"); |
146 | } | 146 | } |
147 | #endif /* !BROKEN_LIBIAF */ | 147 | #endif /* USE_LIBIAF */ |
148 | #endif /* HAVE_LIBIAF */ | 148 | #endif /* HAVE_LIBIAF */ |
149 | 149 | ||