From f02c04d9d8d5460b45810c466b42dda2842d8002 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Fri, 14 Jun 2013 20:46:14 +0200 Subject: [PATCH] add test case for invalid characters in cert commonnames --- test/test_certutils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_certutils.py b/test/test_certutils.py index 334a6be46..f57f8f6d9 100644 --- a/test/test_certutils.py +++ b/test/test_certutils.py @@ -34,6 +34,7 @@ class TestCertStore: assert not c.get_cert("foo.com", []) assert c.get_cert("foo.com", [], ca) assert c.get_cert("foo.com", [], ca) + assert c.get_cert("*.foo.com", [], ca) c.cleanup() def test_check_domain(self):