From e54d3c21ee02c9ead8520e9bc6dcc9c1417263b8 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 3 Jan 2015 18:19:16 +0100 Subject: [PATCH] Add SSL info to version info. --- qutebrowser/utils/version.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qutebrowser/utils/version.py b/qutebrowser/utils/version.py index 95a1dd784..c781ca210 100644 --- a/qutebrowser/utils/version.py +++ b/qutebrowser/utils/version.py @@ -29,6 +29,7 @@ import collections from PyQt5.QtCore import QT_VERSION_STR, PYQT_VERSION_STR, qVersion from PyQt5.QtWebKit import qWebKitVersion +from PyQt5.QtNetwork import QSslSocket import qutebrowser from qutebrowser.utils import log, utils @@ -208,6 +209,8 @@ def version(): lines += [ 'Webkit: {}'.format(qWebKitVersion()), 'Harfbuzz: {}'.format(os.environ.get('QT_HARFBUZZ', 'system')), + 'SSL: {}'.format(QSslSocket.sslLibraryVersionString() if + QSslSocket.supportsSsl() else 'unavailable'), '', 'Frozen: {}'.format(hasattr(sys, 'frozen')), 'Platform: {}, {}'.format(platform.platform(),