summaryrefslogtreecommitdiff
path: root/Lib/ssl.py
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-05-26 12:19:42 -0700
committerSteve Dower <steve.dower@microsoft.com>2016-05-26 12:19:42 -0700
commitf60d1c6c6e9cabfd95c0fe3b9450c87d545ac5b3 (patch)
tree03244574fb82a5ef79b7c58caba46a51328ad51d /Lib/ssl.py
parent177fe35798123c29eefe2da1b8dfc2263c5c86e8 (diff)
parent25ed18d3555c2ecdab81f04da042cb1ba5ce8fa9 (diff)
downloadcpython-f60d1c6c6e9cabfd95c0fe3b9450c87d545ac5b3.tar.gz
Issue #27114: Fix SSLContext._load_windows_store_certs fails with PermissionError
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r--Lib/ssl.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/ssl.py b/Lib/ssl.py
index 3f5c3c4d07..560cfef776 100644
--- a/Lib/ssl.py
+++ b/Lib/ssl.py
@@ -890,7 +890,6 @@ class SSLSocket(socket):
while (count < amount):
v = self.send(data[count:])
count += v
- return amount
else:
return socket.sendall(self, data, flags)