projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c09394
)
textual identities to UI
author
Sam Hartman
<hartmans@debian.org>
Thu, 4 Apr 2013 16:25:17 +0000
(12:25 -0400)
committer
Sam Hartman
<hartmans@debian.org>
Thu, 4 Apr 2013 16:25:17 +0000
(12:25 -0400)
The call to moonshot_get_identity included exported name tokens; the
interface expected C strings. Use gssEapDisplayName instead.
mech_eap/util_moonshot.c
patch
|
blob
|
history
diff --git
a/mech_eap/util_moonshot.c
b/mech_eap/util_moonshot.c
index
46282e8
..
b5027fc
100644
(file)
--- 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;
}