interface.py: rm dead code

This commit is contained in:
SomberNight
2026-03-20 16:02:59 +00:00
parent dceece1cda
commit fa6deb8d0e
-9
View File
@@ -1825,15 +1825,6 @@ def check_cert(host, cert):
m += "has_expired: %s\n"% expired
util.print_msg(m)
# Used by tests
def _match_hostname(name, val):
if val == name:
return True
return val.startswith('*.') and name.endswith(val[1:])
def test_certificates():
from .simple_config import SimpleConfig
config = SimpleConfig()