From 3e2df2ed42513ab7e236e240297dc7da1ce1a448 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 1 Dec 2025 23:13:39 +0200 Subject: [PATCH] tests: Remove forgotten temporary function This was used only during development and should not have been included in the commit that introduced testing with FreeRADIUS. Signed-off-by: Jouni Malinen --- tests/hwsim/test_radius.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tests/hwsim/test_radius.py b/tests/hwsim/test_radius.py index d4fa9fdb2..335b269c6 100644 --- a/tests/hwsim/test_radius.py +++ b/tests/hwsim/test_radius.py @@ -1882,21 +1882,3 @@ def test_radius_tls_freeradius(dev, apdev, test_params): pid = int(f.read()) if pid > 0: os.kill(pid, signal.SIGTERM) - -def foo(): - params['auth_server_addr'] = "127.0.0.1" - params['auth_server_port'] = "2083" - params['auth_server_type'] = "TLS" - params['auth_server_shared_secret'] = "radsec" - params['auth_server_ca_cert'] = certdir + "/ca.pem" - params['auth_server_client_cert'] = certdir + "/client.pem" - params['auth_server_private_key'] = certdir + "/client.key" - params['auth_server_private_key_passwd'] = "whatever" - params['acct_server_addr'] = "127.0.0.1" - params['acct_server_port'] = "2083" - params['acct_server_type'] = "TLS" - params['acct_server_shared_secret'] = "radsec" - params['acct_server_ca_cert'] = certdir + "/ca.pem" - params['acct_server_client_cert'] = certdir + "/client.pem" - params['acct_server_private_key'] = certdir + "/client.key" - params['acct_server_private_key_passwd'] = "whatever" -- 2.47.3