View | Details | Raw Unified
Collapse All | Expand All

(-) krb5-1.5.2.old/src/lib/gssapi/krb5/k5unseal.c (-1 / +4 lines)
 Lines 457-464    Link Here 
    if ((ctx->initiate && direction != 0xff) ||
    if ((ctx->initiate && direction != 0xff) ||
	(!ctx->initiate && direction != 0)) {
	(!ctx->initiate && direction != 0)) {
	if (toktype == KG_TOK_SEAL_MSG)
	if (toktype == KG_TOK_SEAL_MSG) {
	    xfree(token.value);
	    xfree(token.value);
		message_buffer->value = NULL;
		message_buffer->length = 0;
	}
	*minor_status = G_BAD_DIRECTION;
	*minor_status = G_BAD_DIRECTION;
	return(GSS_S_BAD_SIG);
	return(GSS_S_BAD_SIG);
    }
    }