Blame SOURCES/gssproxy-0.3.0-gss_init_sec_context.patch

4c520e
From cc538c36ca32850e0b3280b7d8524d23345eed9e Mon Sep 17 00:00:00 2001
4c520e
From: Simo Sorce <simo@redhat.com>
4c520e
Date: Wed, 13 Nov 2013 17:57:06 -0500
4c520e
Subject: [PATCH 1/3] Preserve requested flags and lifetime
4c520e
MIME-Version: 1.0
4c520e
Content-Type: text/plain; charset=UTF-8
4c520e
Content-Transfer-Encoding: 8bit
4c520e
4c520e
These arguments have been accidentally forgotten causing failures for
4c520e
applications that specify non default flags and non indefinite lifetime.
4c520e
4c520e
https://fedorahosted.org/gss-proxy/ticket/106
4c520e
4c520e
Reviewed-by: Günther Deschner <gdeschner@redhat.com>
4c520e
---
4c520e
 proxy/src/client/gpm_init_sec_context.c | 3 +++
4c520e
 1 file changed, 3 insertions(+)
4c520e
4c520e
diff --git a/proxy/src/client/gpm_init_sec_context.c b/proxy/src/client/gpm_init_sec_context.c
4c520e
index 12df858..b6ce34f 100644
4c520e
--- a/proxy/src/client/gpm_init_sec_context.c
4c520e
+++ b/proxy/src/client/gpm_init_sec_context.c
4c520e
@@ -70,6 +70,9 @@ OM_uint32 gpm_init_sec_context(OM_uint32 *minor_status,
4c520e
         goto done;
4c520e
     }
4c520e
 
4c520e
+    arg->req_flags = req_flags;
4c520e
+    arg->time_req = time_req;
4c520e
+
4c520e
     if (input_cb) {
4c520e
         ret = gp_conv_cb_to_gssx_alloc(input_cb, &arg->input_cb);
4c520e
         if (ret) {
4c520e
-- 
4c520e
1.8.3.1
4c520e
4c520e