gss: store_spnego_context(): remove redundant overflow check
ctx->negoex_step is now a uint8_t, so it can never be bigger than 0xff. Remove redundant overflow check.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user