From: Jouni Malinen Date: Mon, 1 Dec 2025 21:13:39 +0000 (+0200) Subject: tests: Remove forgotten temporary function X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e2df2ed42513ab7e236e240297dc7da1ce1a448;p=thirdparty%2Fhostap.git 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 --- 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"