]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Return an error if we can't validate the request authenticator (oops)
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 16 Nov 2017 22:45:50 +0000 (22:45 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 16 Nov 2017 22:46:16 +0000 (22:46 +0000)
src/protocols/radius/base.c

index 1b4b07dc53d1cf2fae551ebd50c1c62e13ad92c2..f72c7ccddbcd5d8b0331fdd5934449a2678db62e 100644 (file)
@@ -804,6 +804,7 @@ int fr_radius_verify(uint8_t *packet, uint8_t const *original,
                } else {
                        fr_strerror_printf("invalid Request Authenticator (shared secret is incorrect)");
                }
+               return -1;
        }
 
        return 0;