diff --git a/lib/gssapi/spnego/context_storage.c b/lib/gssapi/spnego/context_storage.c index 3628488e9..d1ea927e8 100644 --- a/lib/gssapi/spnego/context_storage.c +++ b/lib/gssapi/spnego/context_storage.c @@ -296,10 +296,6 @@ store_spnego_context(krb5_storage *sp, gssspnego_ctx ctx) uint32_t nschemes; struct negoex_auth_mech *mech; - if (ctx->negoex_step > 0xff) { - ret = ERANGE; - goto fail; - } CHECK(ret, krb5_store_uint8(sp, ctx->negoex_step)); if (ctx->negoex_transcript) {