};
const gss_OID_set_desc * const gss_mech_set_spnego = spnego_oidsets+0;
-#define TWRITE_STR(ptr, str, len) \
- memcpy((ptr), (char *)(str), (len)); \
- (ptr) += (len);
-
#ifdef DEBUG
#define dsyslog(a) syslog(LOG_DEBUG, a)
#else
OM_uint32 *req_flags)
{
int len;
- unsigned char *start = *buff_in;
if (**buff_in != (CONTEXT | 0x01))
return (0);
gss_buffer_t *mechListMIC)
{
unsigned char *ptr, *bufstart;
- int len, bytes;
- unsigned int tag;
+ int len;
+ unsigned int tag, bytes;
*negState = ACCEPT_DEFECTIVE_TOKEN;
*supportedMech = GSS_C_NO_OID;
int rspTokenSize = 0;
int mechListTokenSize = 0;
int micTokenSize = 0;
- int i;
unsigned char *t;
unsigned char *ptr;
- unsigned char *MechListPtr = NULL;
- gss_buffer_desc MICbuff;
if (outbuf == GSS_C_NO_BUFFER)
return (-1);
send_token_flag sendtoken,
gss_buffer_t outbuf)
{
- int tlen;
- int ret;
- int NegTokenTargSize;
- int negresultTokenSize;
- int NegTokenSize;
- int rspTokenSize;
- int micTokenSize;
+ int tlen = 0;
+ int ret = 0;
+ int NegTokenTargSize = 0;
+ int NegTokenSize = 0;
+ int rspTokenSize = 0;
+ int micTokenSize = 0;
int dataLen = 0;
unsigned char *t;
unsigned char *ptr;