diff options
author | Guido van Rossum <guido@python.org> | 2000-12-11 20:32:20 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-12-11 20:32:20 (GMT) |
commit | 0aee7220db3354ef32b5d1ac92f2c5942bb8eaf8 (patch) | |
tree | a694763ab3daea368b1c438d66cb63d6a3fa2d60 /Lib/dumbdbm.py | |
parent | 0705028076810327e58747fd93a82a5f09d1c33c (diff) | |
download | cpython-0aee7220db3354ef32b5d1ac92f2c5942bb8eaf8.zip cpython-0aee7220db3354ef32b5d1ac92f2c5942bb8eaf8.tar.gz cpython-0aee7220db3354ef32b5d1ac92f2c5942bb8eaf8.tar.bz2 |
Hoepeful fix for SF bug #123924: Windows - using OpenSSL, problem with
socket in httplib.py.
The bug reports that on Windows, you must pass sock._sock to the
socket.ssl() call. But on Unix, you must pass sock itself. (sock is
a wrapper on Windows but not on Unix; the ssl() call wants the real
socket object, not the wrapper.)
So we see if sock has an _sock attribute and if so, extract it.
Unfortunately, the submitter of the bug didn't confirm that this patch
works, so I'll just have to believe it (can't test it myself since I
don't have OpenSSL on Windows set up, and that's a nontrivial thing I
believe).
Diffstat (limited to 'Lib/dumbdbm.py')
0 files changed, 0 insertions, 0 deletions