ptr = (unsigned char *)header->buffer.value;
if (header->buffer.length < 16) {
- *minor = GSSEAP_WRONG_SIZE;
+ *minor = GSSEAP_TOK_TRUNC;
return GSS_S_DEFECTIVE_TOKEN;
}
if (stream->buffer.length < theader->buffer.length +
tpadding->buffer.length +
ttrailer->buffer.length) {
- code = GSSEAP_WRONG_SIZE;
+ code = GSSEAP_TOK_TRUNC;
major = GSS_S_DEFECTIVE_TOKEN;
goto cleanup;
}