version 1.16, 2006/03/25 22:22:43 |
version 1.17, 2006/03/30 09:58:15 |
|
|
#include "session.h" |
#include "session.h" |
#include "servconf.h" |
#include "servconf.h" |
#include "xmalloc.h" |
#include "xmalloc.h" |
#include "getput.h" |
#include "misc.h" |
|
|
#include "ssh-gss.h" |
#include "ssh-gss.h" |
|
|
|
|
* second without. |
* second without. |
*/ |
*/ |
|
|
oidl = GET_16BIT(tok+2); /* length including next two bytes */ |
oidl = get_u16(tok+2); /* length including next two bytes */ |
oidl = oidl-2; /* turn it into the _real_ length of the variable OID */ |
oidl = oidl-2; /* turn it into the _real_ length of the variable OID */ |
|
|
/* |
/* |
|
|
if (ename->length < offset+4) |
if (ename->length < offset+4) |
return GSS_S_FAILURE; |
return GSS_S_FAILURE; |
|
|
name->length = GET_32BIT(tok+offset); |
name->length = get_u32(tok+offset); |
offset += 4; |
offset += 4; |
|
|
if (ename->length < offset+name->length) |
if (ename->length < offset+name->length) |