aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2013-06-15 15:35:25 -0700
committerAldo Cortesi <aldo@corte.si>2013-06-15 15:35:25 -0700
commit698f6f198d4ee35f51fe86d34bdb9986349fd702 (patch)
tree2416e49d89ee29d6c7b64ea4b732388b6e945b20
parentd698ee50a74ac33730ce19cf5eeb36935bd3643d (diff)
parentf02c04d9d8d5460b45810c466b42dda2842d8002 (diff)
downloadmitmproxy-698f6f198d4ee35f51fe86d34bdb9986349fd702.tar.gz
mitmproxy-698f6f198d4ee35f51fe86d34bdb9986349fd702.tar.bz2
mitmproxy-698f6f198d4ee35f51fe86d34bdb9986349fd702.zip
Merge pull request #14 from mhils/commonname_invalid_chars
add test case for invalid characters in cert commonnames
-rw-r--r--test/test_certutils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_certutils.py b/test/test_certutils.py
index 334a6be4..f57f8f6d 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):