/*
- * Copyright (c) 2010, JANET(UK)
+ * Copyright (c) 2011, JANET(UK)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
remain -= 16;
/* Validate state */
- if (ctx->state < GSSEAP_STATE_IDENTITY ||
+ if (ctx->state < GSSEAP_STATE_INITIAL ||
ctx->state > GSSEAP_STATE_ESTABLISHED)
return GSS_S_DEFECTIVE_TOKEN;