diff options
Diffstat (limited to 'libmproxy/certutils.py')
-rw-r--r-- | libmproxy/certutils.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libmproxy/certutils.py b/libmproxy/certutils.py index 6ce2ea09..31b1fa08 100644 --- a/libmproxy/certutils.py +++ b/libmproxy/certutils.py @@ -213,10 +213,7 @@ class SSLCert: return altnames -# begin nocover -def get_remote_cert(host, port): +def get_remote_cert(host, port): # pragma: no cover addr = socket.gethostbyname(host) s = ssl.get_server_certificate((addr, port)) return SSLCert(s) -# end nocover - |