diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-02-15 18:43:06 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-02-15 18:43:06 +0100 |
commit | fc9fa87827d64c770d329b24151f3ef354054d74 (patch) | |
tree | c0f32f41aa54ce66509853abe99201838eb6500a /pathod | |
parent | b7af84552385fa6daf5f594ffa981f8647f7e755 (diff) | |
download | mitmproxy-fc9fa87827d64c770d329b24151f3ef354054d74.tar.gz mitmproxy-fc9fa87827d64c770d329b24151f3ef354054d74.tar.bz2 mitmproxy-fc9fa87827d64c770d329b24151f3ef354054d74.zip |
fix ALPN checks
Diffstat (limited to 'pathod')
-rw-r--r-- | pathod/libpathod/pathoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/libpathod/pathoc.py b/pathod/libpathod/pathoc.py index 55c2a6e0..c0a33b62 100644 --- a/pathod/libpathod/pathoc.py +++ b/pathod/libpathod/pathoc.py @@ -207,7 +207,7 @@ class Pathoc(tcp.TCPClient): self.ws_framereader = None if self.use_http2: - if not OpenSSL._util.lib.Cryptography_HAS_ALPN: # pragma: nocover + if not tcp.HAS_ALPN: # pragma: nocover log.write_raw( self.fp, "HTTP/2 requires ALPN support. " |