wesnoth_addon_manager: require at least TLS v1.2 (#7591)
This commit is contained in:
parent
1ce11239ed
commit
2cb0d97696
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ class CampaignClient:
|
|||
print("Attempting to connect to the server using SSL/TLS",
|
||||
file=sys.stderr)
|
||||
self.context = ssl.create_default_context()
|
||||
self.context.minimum_version = ssl.TLSVersion.TLSv1_2
|
||||
else:
|
||||
self.context = None
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue