summaryrefslogtreecommitdiff
path: root/auth-krb4.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-16 11:18:38 +1000
committerDamien Miller <djm@mindrot.org>2000-04-16 11:18:38 +1000
commit4af51306d9a51459a5bef922df1037f876ae51fe (patch)
tree09ecfc215fce82345a3259f8a0f384b9a67906f0 /auth-krb4.c
parent5d1705ecf9bd3216dc99a84242bcdf2e7297d307 (diff)
- OpenBSD CVS updates.
[ssh.1 ssh.c] - ssh -2 [auth.c channels.c clientloop.c packet.c packet.h serverloop.c] [session.c sshconnect.c] - check payload for (illegal) extra data [ALL] - whitespace cleanup
Diffstat (limited to 'auth-krb4.c')
-rw-r--r--auth-krb4.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/auth-krb4.c b/auth-krb4.c
index 7e30646f8..a26842713 100644
--- a/auth-krb4.c
+++ b/auth-krb4.c
@@ -19,7 +19,7 @@ extern ServerOptions options;
19 * return 1 on success, 0 on failure, -1 if krb4 is not available 19 * return 1 on success, 0 on failure, -1 if krb4 is not available
20 */ 20 */
21 21
22int 22int
23auth_krb4_password(struct passwd * pw, const char *password) 23auth_krb4_password(struct passwd * pw, const char *password)
24{ 24{
25 AUTH_DAT adata; 25 AUTH_DAT adata;
@@ -135,7 +135,7 @@ krb4_cleanup_proc(void *ignore)
135 } 135 }
136} 136}
137 137
138int 138int
139krb4_init(uid_t uid) 139krb4_init(uid_t uid)
140{ 140{
141 static int cleanup_registered = 0; 141 static int cleanup_registered = 0;
@@ -179,7 +179,7 @@ krb4_init(uid_t uid)
179 return 0; 179 return 0;
180} 180}
181 181
182int 182int
183auth_krb4(const char *server_user, KTEXT auth, char **client) 183auth_krb4(const char *server_user, KTEXT auth, char **client)
184{ 184{
185 AUTH_DAT adat = {0}; 185 AUTH_DAT adat = {0};
@@ -252,7 +252,7 @@ auth_krb4(const char *server_user, KTEXT auth, char **client)
252#endif /* KRB4 */ 252#endif /* KRB4 */
253 253
254#ifdef AFS 254#ifdef AFS
255int 255int
256auth_kerberos_tgt(struct passwd *pw, const char *string) 256auth_kerberos_tgt(struct passwd *pw, const char *string)
257{ 257{
258 CREDENTIALS creds; 258 CREDENTIALS creds;
@@ -307,7 +307,7 @@ auth_kerberos_tgt_failure:
307 return 0; 307 return 0;
308} 308}
309 309
310int 310int
311auth_afs_token(struct passwd *pw, const char *token_string) 311auth_afs_token(struct passwd *pw, const char *token_string)
312{ 312{
313 CREDENTIALS creds; 313 CREDENTIALS creds;