From: Alan T. DeKok Date: Tue, 11 Apr 2023 16:05:28 +0000 (-0400) Subject: only set RADIUSv11 if TLS is being used X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dd34009bc37ce762e0026719f3f7daed5fee20d;p=thirdparty%2Ffreeradius-server.git only set RADIUSv11 if TLS is being used --- diff --git a/src/include/features-h b/src/include/features-h index a664edd616..febdec3e36 100644 --- a/src/include/features-h +++ b/src/include/features-h @@ -84,8 +84,10 @@ # define WITH_RADIUSV11 #else # ifndef WITHOUT_RADIUSV11 -# define WITH_RADIUSV11 -#endif +# ifdef WITH_TLS +# define WITH_RADIUSV11 +# endif +# endif #endif #ifdef WITH_RADIUSV11