summaryrefslogtreecommitdiffstats
path: root/proxy
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-11-13 17:57:06 -0500
committerSimo Sorce <simo@redhat.com>2013-11-16 17:28:51 -0500
commitf89cac5d07eb9c39ee30b58ce9dd9c58a1a6488b (patch)
tree7dd65d77cbb42563cf8d8bbfb4260957e69914bb /proxy
parent5f6b2d295cc2542429f4e1b7144eb947681f64ca (diff)
downloadgss-proxy-f89cac5d07eb9c39ee30b58ce9dd9c58a1a6488b.tar.gz
gss-proxy-f89cac5d07eb9c39ee30b58ce9dd9c58a1a6488b.tar.xz
gss-proxy-f89cac5d07eb9c39ee30b58ce9dd9c58a1a6488b.zip
Preserve requested flags and lifetime
These arguments have been accidentally forgotten causing failures for applications that specify non default flags and non indefinite lifetime.
Diffstat (limited to 'proxy')
-rw-r--r--proxy/src/client/gpm_init_sec_context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/proxy/src/client/gpm_init_sec_context.c b/proxy/src/client/gpm_init_sec_context.c
index 12df858..b6ce34f 100644
--- a/proxy/src/client/gpm_init_sec_context.c
+++ b/proxy/src/client/gpm_init_sec_context.c
@@ -70,6 +70,9 @@ OM_uint32 gpm_init_sec_context(OM_uint32 *minor_status,
goto done;
}
+ arg->req_flags = req_flags;
+ arg->time_req = time_req;
+
if (input_cb) {
ret = gp_conv_cb_to_gssx_alloc(input_cb, &arg->input_cb);
if (ret) {