mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 16:24:39 +02:00
- markus@cvs.openbsd.org 2003/05/15 14:09:21
[auth2-krb5.c] fix 64bit issue; report itojun@
This commit is contained in:
parent
f9b3feb847
commit
99b4b88aba
@ -7,6 +7,9 @@
|
|||||||
- jakob@cvs.openbsd.org 2003/05/15 14:02:47
|
- jakob@cvs.openbsd.org 2003/05/15 14:02:47
|
||||||
[readconf.c servconf.c]
|
[readconf.c servconf.c]
|
||||||
warn for unsupported config option. ok markus@
|
warn for unsupported config option. ok markus@
|
||||||
|
- markus@cvs.openbsd.org 2003/05/15 14:09:21
|
||||||
|
[auth2-krb5.c]
|
||||||
|
fix 64bit issue; report itojun@
|
||||||
|
|
||||||
20030515
|
20030515
|
||||||
- (djm) OpenBSD CVS Sync
|
- (djm) OpenBSD CVS Sync
|
||||||
@ -1538,4 +1541,4 @@
|
|||||||
save auth method before monitor_reset_key_state(); bugzilla bug #284;
|
save auth method before monitor_reset_key_state(); bugzilla bug #284;
|
||||||
ok provos@
|
ok provos@
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.2725 2003/05/16 01:38:32 djm Exp $
|
$Id: ChangeLog,v 1.2726 2003/05/16 01:38:46 djm Exp $
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: auth2-krb5.c,v 1.1 2003/05/14 02:15:47 markus Exp $");
|
RCSID("$OpenBSD: auth2-krb5.c,v 1.2 2003/05/15 14:09:21 markus Exp $");
|
||||||
|
|
||||||
#ifdef KRB5
|
#ifdef KRB5
|
||||||
|
|
||||||
@ -44,10 +44,12 @@ static int
|
|||||||
userauth_kerberos(Authctxt *authctxt)
|
userauth_kerberos(Authctxt *authctxt)
|
||||||
{
|
{
|
||||||
krb5_data tkt, reply;
|
krb5_data tkt, reply;
|
||||||
|
u_int dlen;
|
||||||
char *client = NULL;
|
char *client = NULL;
|
||||||
int authenticated = 0;
|
int authenticated = 0;
|
||||||
|
|
||||||
tkt.data = packet_get_string(&tkt.length);
|
tkt.data = packet_get_string(&dlen);
|
||||||
|
tkt.length = dlen;
|
||||||
packet_check_eom();
|
packet_check_eom();
|
||||||
|
|
||||||
if (PRIVSEP(auth_krb5(authctxt, &tkt, &client, &reply))) {
|
if (PRIVSEP(auth_krb5(authctxt, &tkt, &client, &reply))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user