]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't automatically add Message-Authenticator for tests
authorAlan T. DeKok <aland@freeradius.org>
Sun, 11 Aug 2024 20:37:34 +0000 (16:37 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 11 Aug 2024 20:37:34 +0000 (16:37 -0400)
src/protocols/radius/encode.c

index f122b6be7b82e886f2f99e9c567d99323c9a4843..0fc647a48b55e08afc16c4aee2caebe9a46f5750 100644 (file)
@@ -1707,6 +1707,11 @@ static int encode_test_ctx(void **out, TALLOC_CTX *ctx)
        test_ctx->rand_ctx.a = 6809;
        test_ctx->rand_ctx.b = 2112;
 
+       /*
+        *      We don't want to automatically add Message-Authenticator
+        */
+       test_ctx->secure_transport = true;
+
        *out = test_ctx;
 
        return 0;