From 6753fb3ac53b2210e8fde57838cc2f32f6f06b89 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Wed, 16 Mar 2011 15:39:12 +1100 Subject: [PATCH] call gssEapCanonicalizeOid, gssEapInternalizeOid is no longer public --- mech_eap/util_context.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/mech_eap/util_context.c b/mech_eap/util_context.c index 03bad1c..0396e26 100644 --- a/mech_eap/util_context.c +++ b/mech_eap/util_context.c @@ -192,16 +192,9 @@ gssEapVerifyToken(OM_uint32 *minor, return major; if (ctx->mechanismUsed == GSS_C_NO_OID) { - if (!gssEapIsConcreteMechanismOid(oid)) { - *minor = GSSEAP_WRONG_MECH; - return GSS_S_BAD_MECH; - } - - if (!gssEapInternalizeOid(oid, &ctx->mechanismUsed)) { - major = duplicateOid(minor, oid, &ctx->mechanismUsed); - if (GSS_ERROR(major)) - return major; - } + major = gssEapCanonicalizeOid(minor, oid, 0, &ctx->mechanismUsed); + if (GSS_ERROR(major)) + return major; } innerInputToken->length = bodySize; -- 2.1.4