From 5f0daf7bfd4f97c0658dd6fa19433d42507ffa79 Mon Sep 17 00:00:00 2001 From: spkesan Date: Fri, 6 Dec 2019 22:03:21 +0530 Subject: [PATCH] Fix minor TypeError --- lib/client/ssl_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/ssl_context.py b/lib/client/ssl_context.py index f672b162..d898363a 100644 --- a/lib/client/ssl_context.py +++ b/lib/client/ssl_context.py @@ -407,7 +407,7 @@ def _parse_protocols(self, protocols): protocols_to_enable.remove("TLSv1.2") elif proto == "all" or proto == "+all": - protocols_to_enable += all_protocols + protocols_to_enable.update(all_protocols) elif proto == "-all": protocols_to_enable.clear()