summaryrefslogtreecommitdiffstats
path: root/proxy/tests/interposetest.c
diff options
context:
space:
mode:
authorGünther Deschner <gdeschner@redhat.com>2012-09-07 18:11:44 +0200
committerGünther Deschner <gdeschner@redhat.com>2012-10-18 17:45:59 +0200
commitcb7653d1e663a6b3bfc564cda0c9ad4afc579d2a (patch)
tree4d86b6ff49f6999d556bf5e0496fff33065f8c6c /proxy/tests/interposetest.c
parent4ba8b3879f2d568c9dfbb40650b7b31594737239 (diff)
downloadgss-proxy-cb7653d1e663a6b3bfc564cda0c9ad4afc579d2a.tar.gz
gss-proxy-cb7653d1e663a6b3bfc564cda0c9ad4afc579d2a.tar.xz
gss-proxy-cb7653d1e663a6b3bfc564cda0c9ad4afc579d2a.zip
WIP gss_wrap_aead.
Diffstat (limited to 'proxy/tests/interposetest.c')
-rw-r--r--proxy/tests/interposetest.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/proxy/tests/interposetest.c b/proxy/tests/interposetest.c
index 5d50c1d..4878a40 100644
--- a/proxy/tests/interposetest.c
+++ b/proxy/tests/interposetest.c
@@ -386,6 +386,23 @@ void run_client(struct aproc *data)
goto done;
}
+ /* test gss_wrap_aead */
+#if 0
+ ret_maj = gss_wrap_aead(&ret_min,
+ ctx,
+ 1, /* seal */
+ NULL, /* qop_req */
+ &input_assoc_buffer,
+ &input_payload_buffer,
+ &sealed,
+ &output_message_buffer);
+ if (ret_maj) {
+ DEBUG("gss_wrap_aead failed.\n");
+ gp_log_failure(GSS_C_NO_OID, ret_maj, ret_min);
+ goto done;
+ }
+#endif
+
ret_maj = gss_delete_sec_context(&ret_min, &ctx, &out_token);
if (ret_maj != GSS_S_COMPLETE) {
DEBUG("Failed to delete context!\n");