summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorSimon <965089+sarthurdev@users.noreply.github.com>2026-09-27 23:37:30 +0200
committerGitHub <noreply@github.com>2026-09-27 23:37:30 +0200
commit1769cfb4a25e7b7cc6879405c2feb7791f263d66 (patch)
treeaa476665197f343f89027e2d4b100560c189d847 /smoketest/scripts/cli
parent20721e95e25202489792bb6fd98935fc923e78f1 (diff)
parent609b8d4d8008729af2478029b8e25ae4359ad56b (diff)
downloadvyos-1x-1769cfb4a25e7b7cc6879405c2feb7791f263d66.tar.gz
vyos-1x-1769cfb4a25e7b7cc6879405c2feb7791f263d66.zip
Merge pull request #5476 from ordex/T9323-ci-scanner-false-positives
T9323: ci scanner false positives
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_openvpn.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_openvpn.py b/smoketest/scripts/cli/test_interfaces_openvpn.py
index 4f1021a36..191fde970 100755
--- a/smoketest/scripts/cli/test_interfaces_openvpn.py
+++ b/smoketest/scripts/cli/test_interfaces_openvpn.py
@@ -33,7 +33,7 @@ from vyos.utils.process import is_systemd_service_running
from vyos.utils.file import read_file
from vyos.pki import create_certificate
from vyos.pki import create_certificate_request
-from vyos.pki import create_private_key
+from vyos.pki import create_ec_private_key
from vyos.pki import encode_certificate
from vyos.pki import encode_private_key
from vyos.utils.network import get_interface_config
@@ -99,7 +99,7 @@ def generate_pki():
'organization': 'VyOS',
'common_name': 'VyOS Test',
}
- key = create_private_key('ec', 256)
+ key = create_ec_private_key(256)
request = create_certificate_request(subject, key)
# is_ca gives it both CLIENT_AUTH and SERVER_AUTH, so one certificate
# serves either end of a tunnel