summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-08 15:49:41 +1100
committerDamien Miller <djm@mindrot.org>1999-11-08 15:49:41 +1100
commit68cb7570adaf3a36f95ee0ee683220536562acfa (patch)
tree18e6477f9b9c106b0b3f4d5fc865736f1af8afc5
parent024c1ab1c3a79c134e8965d84ebc32d2710dd2b5 (diff)
Merged latest OpenBSD CVS changes:
- remove unused argument. ok dugsong
-rw-r--r--auth-krb4.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/auth-krb4.c b/auth-krb4.c
index 720f3a4c4..6e8a6bac4 100644
--- a/auth-krb4.c
+++ b/auth-krb4.c
@@ -6,7 +6,7 @@
6 6
7 Kerberos v4 authentication and ticket-passing routines. 7 Kerberos v4 authentication and ticket-passing routines.
8 8
9 $Id: auth-krb4.c,v 1.1 1999/10/27 03:42:43 damien Exp $ 9 $Id: auth-krb4.c,v 1.2 1999/11/08 04:49:41 damien Exp $
10*/ 10*/
11 11
12#include "includes.h" 12#include "includes.h"
@@ -171,11 +171,12 @@ auth_kerberos_tgt_failure:
171 return 0; 171 return 0;
172} 172}
173 173
174int auth_afs_token(char *server_user, uid_t uid, const char *string) 174int auth_afs_token(struct passwd *pw, const char *token_string)
175{ 175{
176 CREDENTIALS creds; 176 CREDENTIALS creds;
177 uid_t uid = pw->pw_uid;
177 178
178 if (!radix_to_creds(string, &creds)) { 179 if (!radix_to_creds(token_string, &creds)) {
179 log("Protocol error decoding AFS token"); 180 log("Protocol error decoding AFS token");
180 packet_send_debug("Protocol error decoding AFS token"); 181 packet_send_debug("Protocol error decoding AFS token");
181 packet_start(SSH_SMSG_FAILURE); 182 packet_start(SSH_SMSG_FAILURE);