projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Accept NULL data in mech_eap cb response cb
[mech_eap.git]
/
mech_eap
/
accept_sec_context.c
diff --git
a/mech_eap/accept_sec_context.c
b/mech_eap/accept_sec_context.c
index
9888097
..
95e0e0d
100644
(file)
--- a/
mech_eap/accept_sec_context.c
+++ b/
mech_eap/accept_sec_context.c
@@
-378,11
+378,7
@@
setAcceptorIdentity(OM_uint32 *minor,
PW_GSS_ACCEPTOR_SERVICE_SPECIFICS,
0,
&nameBuf);
-#ifdef HAVE_HEIMDAL_VERSION
- krb5_xfree(ssi);
-#else
- krb5_free_unparsed_name(krbContext, ssi);
-#endif
+ krbFreeUnparsedName(krbContext, &nameBuf);
if (GSS_ERROR(major))
return major;
}