git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aa328f
)
refuse to use empty creds
mechglue_branch
author
Daniel Kouřil
<kouril@ics.muni.cz>
Fri, 19 Feb 2010 11:08:46 +0000
(11:08 +0000)
committer
Daniel Kouřil
<kouril@ics.muni.cz>
Fri, 19 Feb 2010 11:08:46 +0000
(11:08 +0000)
org.glite.security.gss/src/glite_gss.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.security.gss/src/glite_gss.c
b/org.glite.security.gss/src/glite_gss.c
index
af53cc7
..
20da2c4
100644
(file)
--- a/
org.glite.security.gss/src/glite_gss.c
+++ b/
org.glite.security.gss/src/glite_gss.c
@@
-788,6
+788,10
@@
edg_wll_gss_connect(edg_wll_GssCred cred, char const *hostname, int port,
#endif
/* XXX if cred == GSS_C_NO_CREDENTIAL set the ANONYMOUS flag */
+ if (cred == GSS_C_NO_CREDENTIAL) {
+ ret = EDG_WLL_GSS_ERROR_GSS;
+ goto end;
+ }
do { /* XXX: the black magic above */