summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-01-23 16:24:41 -0500
committerSimo Sorce <simo@redhat.com>2012-01-24 11:13:56 -0500
commitda20ed7625599d307a5e91a539716b2fa8c14a02 (patch)
treebe9751e18b08f428b37ebaf925aa348e680bf4c6
parentb6e3c9896c1c3f20a8d98ba7721b44afcc144bac (diff)
downloadgss-proxy-da20ed7625599d307a5e91a539716b2fa8c14a02.tar.gz
gss-proxy-da20ed7625599d307a5e91a539716b2fa8c14a02.tar.xz
gss-proxy-da20ed7625599d307a5e91a539716b2fa8c14a02.zip
Use correct type for exported context
gss_export_context() returns a gss_buffer_t, so match it in the gssx_ctx structure by using the correlated gssx_buffer type instead of octet_string.
-rw-r--r--x-files/gss_proxy.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/x-files/gss_proxy.x b/x-files/gss_proxy.x
index a3bb6b3..a122072 100644
--- a/x-files/gss_proxy.x
+++ b/x-files/gss_proxy.x
@@ -315,7 +315,7 @@ struct gssx_cred {
*/
struct gssx_ctx {
/* The exported context token, if available */
- octet_string *exported_context_token; /* exported context token */
+ gssx_buffer *exported_context_token;
octet_string *state;
/*
* Stateful servers MUST be able to clean up unreferenced state