projects
/
moonshot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45c45f8
)
set GSS_C_NT_ANONYMOUS only for completely anonymous
author
Luke Howard
<lukeh@padl.com>
Thu, 31 Mar 2011 07:54:20 +0000
(18:54 +1100)
committer
Luke Howard
<lukeh@padl.com>
Thu, 31 Mar 2011 07:54:20 +0000
(18:54 +1100)
mech_eap/util_name.c
patch
|
blob
|
history
diff --git
a/mech_eap/util_name.c
b/mech_eap/util_name.c
index
024481e
..
2922f98
100644
(file)
--- a/
mech_eap/util_name.c
+++ b/
mech_eap/util_name.c
@@
-733,7
+733,7
@@
gssEapDisplayName(OM_uint32 *minor,
krb5_free_unparsed_name(krbContext, krbName);
- if (
KRB_PRINC_LENGTH(name->krbPrincipal)
== 0) {
+ if (
output_name_buffer->length
== 0) {
name_type = GSS_C_NT_ANONYMOUS;
} else {
name_type = GSS_EAP_NT_EAP_NAME;