X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=mech_eap%2Futil_moonshot.c;fp=mech_eap%2Futil_moonshot.c;h=b5027fc9debb032fc7d6c362bd839152efe5eb2d;hb=3293a44ccde203e16d485d419f014e62eea74339;hp=46282e804b70eaad630f1fdf229dbe85572bc5a6;hpb=6c09394bcb3342c5e506dacb5d88f8a05620e19c;p=mech_eap.git diff --git a/mech_eap/util_moonshot.c b/mech_eap/util_moonshot.c index 46282e8..b5027fc 100644 --- a/mech_eap/util_moonshot.c +++ b/mech_eap/util_moonshot.c @@ -157,13 +157,13 @@ libMoonshotResolveInitiatorCred(OM_uint32 *minor, MoonshotError *error = NULL; if (cred->name != GSS_C_NO_NAME) { - major = gssEapExportName(minor, cred->name, &initiator); + major = gssEapDisplayName(minor, cred->name, &initiator, NULL); if (GSS_ERROR(major)) goto cleanup; } if (targetName != GSS_C_NO_NAME) { - major = gssEapExportName(minor, targetName, &target); + major = gssEapDisplayName(minor, targetName, &target, NULL); if (GSS_ERROR(major)) goto cleanup; }