From: Luke Howard Date: Fri, 20 May 2011 08:04:22 +0000 (+0200) Subject: reauth-specific hack should be conditional on reauth being enabled X-Git-Tag: tr-beta1~143 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=moonshot.git;a=commitdiff_plain;h=67a46e30370eaced3c3c2a7b12aa25a3b519d785 reauth-specific hack should be conditional on reauth being enabled --- 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