Codebase list cyrus-sasl2 / 823434fd-f1d7-4c61-ba14-558b00bd180f/main debian / patches / 0020-Restore-LIBS-after-checking-gss_inquire_sec_context_.patch
823434fd-f1d7-4c61-ba14-558b00bd180f/main

Tree @823434fd-f1d7-4c61-ba14-558b00bd180f/main (Download .tar.gz)

0020-Restore-LIBS-after-checking-gss_inquire_sec_context_.patch @823434fd-f1d7-4c61-ba14-558b00bd180f/mainraw · history · blame

From 31b68a9438c24fc9e3e52f626462bf514de31757 Mon Sep 17 00:00:00 2001
From: Ryan Tandy <ryan@nardis.ca>
Date: Mon, 24 Dec 2018 15:07:02 -0800
Subject: [PATCH] Restore LIBS after checking gss_inquire_sec_context_by_oid

Fixes: 4b0306dcd76031460246b2dabcb7db766d6b04d8
---
 m4/sasl2.m4 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/m4/sasl2.m4 b/m4/sasl2.m4
index 56e0504a..17f5d081 100644
--- a/m4/sasl2.m4
+++ b/m4/sasl2.m4
@@ -311,9 +311,10 @@ if test "$gssapi" != no; then
                     [AC_DEFINE(HAVE_GSS_C_SEC_CONTEXT_SASL_SSF,,
                                [Define if your GSSAPI implementation defines GSS_C_SEC_CONTEXT_SASL_SSF])])
   fi
+  LIBS="$cmu_save_LIBS"
+
   cmu_save_LIBS="$LIBS"
   LIBS="$LIBS $GSSAPIBASE_LIBS"
-
   AC_MSG_CHECKING([for SPNEGO support in GSSAPI libraries])
   AC_TRY_RUN([
 #ifdef HAVE_GSSAPI_H