From: František Dvořák Date: Tue, 3 Jul 2012 18:55:57 +0000 (+0000) Subject: Revert hostname check of server certificate (can't be fixed without API enhancement... X-Git-Tag: glite-lbjp-common-gss_R_3_0_6_1~2 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=e955c0e953a9781a381f7c9a9e7a049aa352cc6a;p=jra1mw.git Revert hostname check of server certificate (can't be fixed without API enhancement and changes in the code using gss module). --- diff --git a/org.glite.lbjp-common.gss/src/glite_gss.c b/org.glite.lbjp-common.gss/src/glite_gss.c index cb94b2c..7b357b5 100644 --- a/org.glite.lbjp-common.gss/src/glite_gss.c +++ b/org.glite.lbjp-common.gss/src/glite_gss.c @@ -762,7 +762,7 @@ static int try_conn_and_auth (edg_wll_GssCred cred, char const *hostname, char * while (!context_established) { /* XXX verify ret_flags match what was requested */ maj_stat = gss_init_sec_context(&min_stat, cred->gss_cred, &context, - server, GSS_C_NO_OID, + GSS_C_NO_NAME, GSS_C_NO_OID, req_flags | GSS_C_MUTUAL_FLAG | GSS_C_CONF_FLAG, 0, GSS_C_NO_CHANNEL_BINDINGS, &input_token, NULL, &output_token,