summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGünther Deschner <gdeschner@redhat.com>2013-05-16 12:06:19 +0200
committerSimo Sorce <simo@redhat.com>2013-05-16 06:11:42 -0400
commit94d395f36e996f19d7e10a54c734f8bc0dc21da1 (patch)
treeb9debbe63ba4316d6ea0b5afa23f3875dc7cf2ff
parent5222196a6018fa5a6b47c2f5492ff2762a9a7c27 (diff)
downloadgss-proxy-94d395f36e996f19d7e10a54c734f8bc0dc21da1.tar.gz
gss-proxy-94d395f36e996f19d7e10a54c734f8bc0dc21da1.tar.xz
gss-proxy-94d395f36e996f19d7e10a54c734f8bc0dc21da1.zip
Disable gss_export_name_composite() for now.
We first need to fix our tests and implementation. Temporary workaround for: https://fedorahosted.org/gss-proxy/ticket/81 Signed-off-by: Günther Deschner <gdeschner@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
-rw-r--r--proxy/src/mechglue/gpp_import_and_canon_name.c4
-rw-r--r--proxy/tests/interposetest.c5
2 files changed, 6 insertions, 3 deletions
diff --git a/proxy/src/mechglue/gpp_import_and_canon_name.c b/proxy/src/mechglue/gpp_import_and_canon_name.c
index b3724bd..0529623 100644
--- a/proxy/src/mechglue/gpp_import_and_canon_name.c
+++ b/proxy/src/mechglue/gpp_import_and_canon_name.c
@@ -149,7 +149,8 @@ done:
/* OM_uint32 gssi_export_name(OM_uint32 *minor_status,
const gss_name_t input_name,
gss_buffer_t exported_name) */
-
+#if 0
+/* disabled until better understood */
OM_uint32 gssi_export_name_composite(OM_uint32 *minor_status,
const gss_name_t input_name,
gss_buffer_t exported_composite_name)
@@ -175,6 +176,7 @@ OM_uint32 gssi_export_name_composite(OM_uint32 *minor_status,
*minor_status = gpp_map_error(min);
return maj;
}
+#endif
OM_uint32 gssi_duplicate_name(OM_uint32 *minor_status,
const gss_name_t input_name,
diff --git a/proxy/tests/interposetest.c b/proxy/tests/interposetest.c
index 1acbd14..f94cbe7 100644
--- a/proxy/tests/interposetest.c
+++ b/proxy/tests/interposetest.c
@@ -526,7 +526,8 @@ void run_server(struct aproc *data)
gp_log_failure(GSS_C_NO_OID, ret_maj, ret_min);
goto done;
}
-
+#if 0
+ /* disabled until gss_export_name_composite server-side is fixed */
gss_release_buffer(&ret_min, &exported_name);
ret_maj = gss_export_name_composite(&ret_min, canon_name,
@@ -536,7 +537,7 @@ void run_server(struct aproc *data)
gp_log_failure(GSS_C_NO_OID, ret_maj, ret_min);
goto done;
}
-
+#endif
ret_maj = gss_display_name(&ret_min, canon_name,
&out_name_buf, &out_name_type);
if (ret_maj) {