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:
9aa8058
)
fix compilation with Kerberos GSSAPI
author
Michal Voců
<michal@ruk.cuni.cz>
Thu, 26 Apr 2012 09:39:05 +0000
(09:39 +0000)
committer
Michal Voců
<michal@ruk.cuni.cz>
Thu, 26 Apr 2012 09:39:05 +0000
(09:39 +0000)
org.glite.lbjp-common.gss/src/glite_gss.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lbjp-common.gss/src/glite_gss.c
b/org.glite.lbjp-common.gss/src/glite_gss.c
index
b35d82e
..
b612f97
100644
(file)
--- a/
org.glite.lbjp-common.gss/src/glite_gss.c
+++ b/
org.glite.lbjp-common.gss/src/glite_gss.c
@@
-38,7
+38,9
@@
limitations under the License.
#endif
#include <globus_common.h>
+#ifndef NO_GLOBUS_GSSAPI
#include <globus_gsi_callback.h>
+#endif
#include <gssapi.h>
#include <openssl/err.h>
@@
-1558,7
+1560,10
@@
edg_wll_gss_initialize(void)
// some pre-initializations (workarounds thread-safe problem
// in gss_init_sec_context)
+#ifndef NO_GLOBUS_GSSAPI
globus_gsi_callback_get_SSL_callback_data_index(&index);
+#endif
+
#ifdef GLITE_LBU_THREADED
pthread_mutex_unlock(&init_lock);
#endif