diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-06-11 21:06:41 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-06-11 21:06:41 +1200 |
commit | 0848d1085e28dd9f31ba0dddf042edc8c5955488 (patch) | |
tree | 1f9b063907ea21adc31070b1825b2178b1dfaa39 | |
parent | 3f240b18750de1c70f3aaaf100ecf645ff6e3441 (diff) | |
download | mitmproxy-0848d1085e28dd9f31ba0dddf042edc8c5955488.tar.gz mitmproxy-0848d1085e28dd9f31ba0dddf042edc8c5955488.tar.bz2 mitmproxy-0848d1085e28dd9f31ba0dddf042edc8c5955488.zip |
debug: add OpenSSL
-rw-r--r-- | netlib/debug.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/netlib/debug.py b/netlib/debug.py index 578de8e1..08ab2a44 100644 --- a/netlib/debug.py +++ b/netlib/debug.py @@ -9,12 +9,15 @@ import psutil from netlib import version +from OpenSSL import SSL; + def sysinfo(): data = [ "Mitmproxy version: %s" % version.VERSION, "Python version: %s" % platform.python_version(), "Platform: %s" % platform.platform(), + "SSL version: %s" % SSL.SSLeay_version(SSL.SSLEAY_VERSION), ] d = platform.linux_distribution() t = "Linux distro: %s %s %s" % d |