From: Michal Voců Date: Thu, 26 Apr 2012 09:39:05 +0000 (+0000) Subject: fix compilation with Kerberos GSSAPI X-Git-Tag: canl_merge_branch_1_0_head_take_3_src~11 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=df3f332fd1cab6e3adc869d3be73434944d59041;p=jra1mw.git fix compilation with Kerberos GSSAPI --- 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 --- 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 +#ifndef NO_GLOBUS_GSSAPI #include +#endif #include #include @@ -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