From cac81fcbfa9b3e51a7241bbf6d1f1c4784143806 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kou=C5=99il?= Date: Fri, 17 Feb 2012 09:35:14 +0000 Subject: [PATCH] stub for edg_wll_gss_connect_name(), which makes connection to server with a particular DN --- org.glite.lbjp-common.gss/interface/glite_gss.h | 10 ++++++++++ org.glite.lbjp-common.gss/src/glite_gss.c | 14 ++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/org.glite.lbjp-common.gss/interface/glite_gss.h b/org.glite.lbjp-common.gss/interface/glite_gss.h index 78e0562..caa66cb 100644 --- a/org.glite.lbjp-common.gss/interface/glite_gss.h +++ b/org.glite.lbjp-common.gss/interface/glite_gss.h @@ -109,6 +109,16 @@ edg_wll_gss_connect_ext(edg_wll_GssCred cred, edg_wll_GssStatus* gss_code); int +edg_wll_gss_connect_name(edg_wll_GssCred cred, + char const *hostname, + int port, + const char *servername, + gss_OID_set mechs, + struct timeval *timeout, + edg_wll_GssConnection *connection, + edg_wll_GssStatus* gss_code); + +int edg_wll_gss_accept(edg_wll_GssCred cred, int sock, struct timeval *timeout, diff --git a/org.glite.lbjp-common.gss/src/glite_gss.c b/org.glite.lbjp-common.gss/src/glite_gss.c index 191b59d..10ecf5b 100644 --- a/org.glite.lbjp-common.gss/src/glite_gss.c +++ b/org.glite.lbjp-common.gss/src/glite_gss.c @@ -899,6 +899,20 @@ edg_wll_gss_connect_ext(edg_wll_GssCred cred, char const *hostname, int port, } int +edg_wll_gss_connect_name(edg_wll_GssCred cred, + char const *hostname, + int port, + const char *servername, + gss_OID_set mechs, + struct timeval *timeout, + edg_wll_GssConnection *connection, + edg_wll_GssStatus* gss_code) +{ + return ENOSYS; +} + + +int edg_wll_gss_connect(edg_wll_GssCred cred, char const *hostname, int port, struct timeval *timeout, edg_wll_GssConnection *connection, edg_wll_GssStatus* gss_code) -- 1.8.2.3