]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Remove forgotten temporary function
authorJouni Malinen <jouni.malinen@oss.qualcomm.com>
Mon, 1 Dec 2025 21:13:39 +0000 (23:13 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 1 Dec 2025 21:13:39 +0000 (23:13 +0200)
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 <jouni.malinen@oss.qualcomm.com>
tests/hwsim/test_radius.py

index d4fa9fdb20cce348a7d583638df5a4c606b02044..335b269c6b90e1f5ba9c24333b45562e8c1ab843 100644 (file)
@@ -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"