From cb7653d1e663a6b3bfc564cda0c9ad4afc579d2a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 7 Sep 2012 18:11:44 +0200 Subject: WIP gss_wrap_aead. --- proxy/tests/interposetest.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'proxy/tests/interposetest.c') 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"); -- cgit