From 67a46e30370eaced3c3c2a7b12aa25a3b519d785 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Fri, 20 May 2011 10:04:22 +0200 Subject: [PATCH] reauth-specific hack should be conditional on reauth being enabled --- moonshot/mech_eap/util_radius.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/moonshot/mech_eap/util_radius.cpp b/moonshot/mech_eap/util_radius.cpp index 0ab02b9..9769287 100644 --- a/moonshot/mech_eap/util_radius.cpp +++ b/moonshot/mech_eap/util_radius.cpp @@ -490,11 +490,11 @@ gss_eap_radius_attr_provider::releaseAnyNameMapping(gss_buffer_t type_id GSSEAP_ bool gss_eap_radius_attr_provider::init(void) { - struct rs_context *radContext; - gss_eap_attr_ctx::registerProvider(ATTR_TYPE_RADIUS, createAttrContext); -#if 1 +#ifdef GSSEAP_ENABLE_REAUTH + struct rs_context *radContext; + /* * This hack is necessary in order to force the loading of the global * dictionary, otherwise accepting reauthentication tokens fails unless -- 2.1.4