projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0140040
)
Check for GSS_C_NO_CREDENTIAL before loop check
author
Ken Raeburn
<raeburn@mit.edu>
Fri, 6 Jun 2008 17:27:50 +0000
(17:27 +0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Fri, 6 Jun 2008 17:27:50 +0000
(17:27 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20363
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/gssapi/mechglue/g_rel_cred.c
patch
|
blob
|
history
diff --git
a/src/lib/gssapi/mechglue/g_rel_cred.c
b/src/lib/gssapi/mechglue/g_rel_cred.c
index 6f546a6e241a6e1903c1437d041887287ff5da21..02e9152626639219cef6641609e3fa34c25c06ec 100644
(file)
--- a/
src/lib/gssapi/mechglue/g_rel_cred.c
+++ b/
src/lib/gssapi/mechglue/g_rel_cred.c
@@
-60,13
+60,13
@@
gss_cred_id_t * cred_handle;
*/
union_cred = (gss_union_cred_t) *cred_handle;
+ if (union_cred == (gss_union_cred_t)GSS_C_NO_CREDENTIAL)
+ return (GSS_S_COMPLETE);
+
if (GSSINT_CHK_LOOP(union_cred))
return (GSS_S_NO_CRED | GSS_S_CALL_INACCESSIBLE_READ);
*cred_handle = NULL;
- if (union_cred == (gss_union_cred_t)GSS_C_NO_CREDENTIAL)
- return (GSS_S_COMPLETE);
-
status = GSS_S_COMPLETE;
for(j=0; j < union_cred->count; j++) {