diff options
Diffstat (limited to 'proxy')
-rw-r--r-- | proxy/tests/interposetest.c | 17 |
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"); |