Blob Blame History Raw
From cc538c36ca32850e0b3280b7d8524d23345eed9e Mon Sep 17 00:00:00 2001
From: Simo Sorce <simo@redhat.com>
Date: Wed, 13 Nov 2013 17:57:06 -0500
Subject: [PATCH 1/3] Preserve requested flags and lifetime
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

These arguments have been accidentally forgotten causing failures for
applications that specify non default flags and non indefinite lifetime.

https://fedorahosted.org/gss-proxy/ticket/106

Reviewed-by: Günther Deschner <gdeschner@redhat.com>
---
 proxy/src/client/gpm_init_sec_context.c | 3 +++
 1 file changed, 3 insertions(+)

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) {
-- 
1.8.3.1