Ticket #36297: gssapi.c.patch
File gssapi.c.patch, 623 bytes (added by nicolasc@…, 12 years ago) |
---|
-
gssapi.c
old new sasl_gss_encode(void *context, const str 370 370 } 371 371 372 372 if (output_token->value && output) { 373 unsigned char * p = (unsigned char *) text->encode_buf;373 unsigned char * p; 374 374 375 375 ret = _plug_buf_alloc(text->utils, 376 376 &(text->encode_buf), … … sasl_gss_encode(void *context, const str 383 383 GSS_UNLOCK_MUTEX(text->utils); 384 384 return ret; 385 385 } 386 387 p = (unsigned char *) text->encode_buf; 386 388 387 389 p[0] = (output_token->length>>24) & 0xFF; 388 390 p[1] = (output_token->length>>16) & 0xFF;