*lifetime_rec = lifetime;
}
+ if (mech_type != NULL) {
+ if (!gssEapInternalizeOid(ctx->mechanismUsed, mech_type)) {
+ major = duplicateOid(minor, ctx->mechanismUsed, mech_type);
+ if (GSS_ERROR(major))
+ goto cleanup;
+ }
+ }
+
if (ctx_flags != NULL) {
*ctx_flags = ctx->gssFlags;
}