Merged latest OpenBSD CVS changes:

- remove unused argument. ok dugsong
This commit is contained in:
Damien Miller 1999-11-08 15:49:41 +11:00
parent 024c1ab1c3
commit 68cb7570ad
1 changed files with 4 additions and 3 deletions

View File

@ -6,7 +6,7 @@
Kerberos v4 authentication and ticket-passing routines. Kerberos v4 authentication and ticket-passing routines.
$Id: auth-krb4.c,v 1.1 1999/10/27 03:42:43 damien Exp $ $Id: auth-krb4.c,v 1.2 1999/11/08 04:49:41 damien Exp $
*/ */
#include "includes.h" #include "includes.h"
@ -171,11 +171,12 @@ auth_kerberos_tgt_failure:
return 0; return 0;
} }
int auth_afs_token(char *server_user, uid_t uid, const char *string) int auth_afs_token(struct passwd *pw, const char *token_string)
{ {
CREDENTIALS creds; CREDENTIALS creds;
uid_t uid = pw->pw_uid;
if (!radix_to_creds(string, &creds)) { if (!radix_to_creds(token_string, &creds)) {
log("Protocol error decoding AFS token"); log("Protocol error decoding AFS token");
packet_send_debug("Protocol error decoding AFS token"); packet_send_debug("Protocol error decoding AFS token");
packet_start(SSH_SMSG_FAILURE); packet_start(SSH_SMSG_FAILURE);