From: Alan T. DeKok Date: Sun, 11 Aug 2024 20:37:34 +0000 (-0400) Subject: don't automatically add Message-Authenticator for tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=290c0d490d44c9fc28ca045d40d8b3eb02e31762;p=thirdparty%2Ffreeradius-server.git don't automatically add Message-Authenticator for tests --- diff --git a/src/protocols/radius/encode.c b/src/protocols/radius/encode.c index f122b6be7b8..0fc647a48b5 100644 --- a/src/protocols/radius/encode.c +++ b/src/protocols/radius/encode.c @@ -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;