commit | 24bf1199af51da101a6d1b48db0d6d1cc546d89b | [log] [tgz] |
---|---|---|
author | Jean-Paul Calderone <exarkun@twistedmatrix.com> | Sat Mar 01 16:09:13 2014 -0500 |
committer | Jean-Paul Calderone <exarkun@twistedmatrix.com> | Sat Mar 01 16:09:13 2014 -0500 |
tree | 31e941bfde579585224c78dddff1fdcddc049e1b | |
parent | cdaf4cfed6c8678c9de17d04bbfa038ae0405a0d [diff] | |
parent | ec84a0a64ac4f1cba413981b70538ca3001f6ac1 [diff] |
Merge pull request #40 from andrew-d/andrew-support-sslv2 Allow creating a Context with SSLv2_METHOD, a feature which was accidentally dropped in the Python port.
diff --git a/OpenSSL/SSL.py b/OpenSSL/SSL.py index a257f16..67e4c82 100644 --- a/OpenSSL/SSL.py +++ b/OpenSSL/SSL.py
@@ -235,6 +235,7 @@ new SSL connections. """ _methods = { + SSLv2_METHOD: "SSLv2_method", SSLv3_METHOD: "SSLv3_method", SSLv23_METHOD: "SSLv23_method", TLSv1_METHOD: "TLSv1_method",