Merge pull request #14 from mhils/commonname_invalid_chars

add test case for invalid characters in cert commonnames
This commit is contained in:
Aldo Cortesi 2013-06-15 15:35:25 -07:00
commit 698f6f198d

View File

@ -34,6 +34,7 @@ class TestCertStore:
assert not c.get_cert("foo.com", []) 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) assert c.get_cert("foo.com", [], ca)
assert c.get_cert("*.foo.com", [], ca)
c.cleanup() c.cleanup()
def test_check_domain(self): def test_check_domain(self):