summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qutebrowser/browser/webkit/network/networkmanager.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/qutebrowser/browser/webkit/network/networkmanager.py b/qutebrowser/browser/webkit/network/networkmanager.py
index 4511a973c..83eaabda7 100644
--- a/qutebrowser/browser/webkit/network/networkmanager.py
+++ b/qutebrowser/browser/webkit/network/networkmanager.py
@@ -103,8 +103,8 @@ def _is_secure_cipher(cipher):
def init():
"""Disable insecure SSL ciphers on old Qt versions."""
- config = QSslConfiguration.defaultConfiguration()
- default_ciphers = config.ciphers()
+ sslconfig = QSslConfiguration.defaultConfiguration()
+ default_ciphers = sslconfig.ciphers()
log.init.vdebug( # type: ignore[attr-defined]
"Default Qt ciphers: {}".format(
', '.join(c.name() for c in default_ciphers)))
@@ -120,7 +120,7 @@ def init():
if bad_ciphers:
log.init.debug("Disabling bad ciphers: {}".format(
', '.join(c.name() for c in bad_ciphers)))
- config.setCiphers(good_ciphers)
+ sslconfig.setCiphers(good_ciphers)
_SavedErrorsType = MutableMapping[