gss_ctx_id_t context_handle,
OM_uint32 *time_rec)
{
+ *minor = 0;
+
if (context_handle->expiryTime == 0) {
*time_rec = GSS_C_INDEFINITE;
} else {
*/
tokenHeaderLength = ITOK_HEADER_LENGTH + convMIC->length
+ 2 + ctx->mechanismUsed->length + 2;
- assert(ctx->conversation.length > tokenHeaderLength);
+ assert(ctx->conversation.length >= tokenHeaderLength);
iov[0].buffer.length -= tokenHeaderLength;
iov[1].type = GSS_IOV_BUFFER_TYPE_HEADER;
tokenHeaderLength = ITOK_HEADER_LENGTH + inputToken->length +
2 + ctx->mechanismUsed->length + 2;
- assert(ctx->conversation.length > tokenHeaderLength);
+ assert(ctx->conversation.length >= tokenHeaderLength);
}
wireData->length = ctx->conversation.length - tokenHeaderLength;