Call gssEapReleaseName not gss_release_name
authorLuke Howard <lukeh@padl.com>
Wed, 19 Sep 2012 12:32:42 +0000 (22:32 +1000)
committerLuke Howard <lukeh@padl.com>
Wed, 19 Sep 2012 12:32:42 +0000 (22:32 +1000)
we have a mech name not a union name so use the local mechanism.

mech_eap/init_sec_context.c

index 6cd21bc..3d2bb92 100644 (file)
@@ -579,11 +579,11 @@ eapGssSmInitAcceptorName(OM_uint32 *minor,
             major = gssEapCompareName(minor, nameHint,
                                       ctx->acceptorName, &equal);
             if (GSS_ERROR(major)) {
-                gss_release_name(&tmpMinor, &nameHint);
+                gssEapReleaseName(&tmpMinor, &nameHint);
                 return major;
             }
 
-            gss_release_name(&tmpMinor, &nameHint);
+            gssEapReleaseName(&tmpMinor, &nameHint);
 
             if (!equal) {
                 *minor = GSSEAP_BAD_CONTEXT_TOKEN;