aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2017-02-26 20:34:46 +0100
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2017-02-26 20:54:06 +0100
commite0bc1109c0e2b726436d3a7426f658fbdcffe136 (patch)
treee023f982e8d310e13c09c41d83af1216ccc1751f /test
parent6d228dfb9ffa4c12e3633b48b77b9c7d44a8f4ae (diff)
downloadmitmproxy-e0bc1109c0e2b726436d3a7426f658fbdcffe136.tar.gz
mitmproxy-e0bc1109c0e2b726436d3a7426f658fbdcffe136.tar.bz2
mitmproxy-e0bc1109c0e2b726436d3a7426f658fbdcffe136.zip
do not return IP addresses in SSLCert.altnames
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/test_certs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mitmproxy/test_certs.py b/test/mitmproxy/test_certs.py
index ab2adce8..9bd3ad25 100644
--- a/test/mitmproxy/test_certs.py
+++ b/test/mitmproxy/test_certs.py
@@ -136,7 +136,7 @@ class TestDummyCert:
[b"one.com", b"two.com", b"*.three.com", b"127.0.0.1"]
)
assert r.cn == b"foo.com"
- assert r.altnames == [b'one.com', b'two.com', b'*.three.com', b'127.0.0.1']
+ assert r.altnames == [b'one.com', b'two.com', b'*.three.com']
r = certs.dummy_cert(
ca.default_privatekey,