]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove redundant check
authorAlan T. DeKok <aland@freeradius.org>
Wed, 9 Jan 2019 15:01:47 +0000 (10:01 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 9 Jan 2019 15:01:47 +0000 (10:01 -0500)
src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c

index 9568c124fe13648351c6127e7a190fa71fea9f8c..78f37d4b322cbfc34e8736209746aa8438742190 100644 (file)
@@ -364,7 +364,7 @@ unexpected:
                goto unexpected;
        }
 
-       if (num[attr_eap_fast_intermediate_result->attr] > 0 && num[attr_eap_fast_intermediate_result->attr]) {
+       if (num[attr_eap_fast_intermediate_result->attr] > 0) {
                RDEBUG("NAK TLV sent with non-NAK TLVs.  Rejecting request.");
                goto unexpected;
        }