Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-29697: Don't use OpenSSL <1.0.2 fallback on 1.1+ (GH-395) | Donald Stufft | 2017-03-02 | 1 | -2/+2 |
| | |||||
* | Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever | Serhiy Storchaka | 2017-01-23 | 1 | -4/+2 |
| | | | | possible. Patch is writen with Coccinelle. | ||||
* | Use _PyObject_CallNoArg() | Victor Stinner | 2016-12-06 | 1 | -1/+1 |
| | | | | | | | Replace: PyObject_CallFunctionObjArgs(callable, NULL) with: _PyObject_CallNoArg(callable) | ||||
* | Backed out changeset b9c9691c72c5 | Victor Stinner | 2016-12-04 | 1 | -1/+1 |
| | | | | | | Issue #28858: The change b9c9691c72c5 introduced a regression. It seems like _PyObject_CallArg1() uses more stack memory than PyObject_CallFunctionObjArgs(). | ||||
* | Replace PyObject_CallFunctionObjArgs() with fastcall | Victor Stinner | 2016-12-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | * PyObject_CallFunctionObjArgs(func, NULL) => _PyObject_CallNoArg(func) * PyObject_CallFunctionObjArgs(func, arg, NULL) => _PyObject_CallArg1(func, arg) PyObject_CallFunctionObjArgs() allocates 40 bytes on the C stack and requires extra work to "parse" C arguments to build a C array of PyObject*. _PyObject_CallNoArg() and _PyObject_CallArg1() are simpler and don't allocate memory on the C stack. This change is part of the fastcall project. The change on listsort() is related to the issue #23507. | ||||
* | Typo | Christian Heimes | 2016-09-24 | 1 | -1/+1 |
| | |||||
* | Finish GC code for SSLSession and increase test coverage | Christian Heimes | 2016-09-24 | 1 | -4/+9 |
| | |||||
* | Issue #28188: Use PyMem_Calloc() to get rid of a type-limits warning and an ↵ | Christian Heimes | 2016-09-13 | 1 | -3/+2 |
| | | | | extra memset() call in _ssl.c. | ||||
* | Issue #27866: Fix refleak in cipher_to_dict() | Victor Stinner | 2016-09-12 | 1 | -12/+1 |
| | |||||
* | Issue #28085: Add PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER for SSLContext | Christian Heimes | 2016-09-11 | 1 | -21/+59 |
| | |||||
* | Issue #19500: Add client-side SSL session resumption to the ssl module. | Christian Heimes | 2016-09-10 | 1 | -2/+370 |
| | |||||
* | Issue 28043: SSLContext has improved default settings | Christian Heimes | 2016-09-10 | 1 | -0/+31 |
| | | | | The options OP_NO_COMPRESSION, OP_CIPHER_SERVER_PREFERENCE, OP_SINGLE_DH_USE, OP_SINGLE_ECDH_USE, OP_NO_SSLv2 (except for PROTOCOL_SSLv2), and OP_NO_SSLv3 (except for PROTOCOL_SSLv3) are set by default. The initial cipher suite list contains only HIGH ciphers, no NULL ciphers and MD5 ciphers (except for PROTOCOL_SSLv2). | ||||
* | Issue #27691: Fix ssl module's parsing of GEN_RID subject alternative name ↵ | Christian Heimes | 2016-09-06 | 1 | -1/+34 |
|\ | | | | | | | fields in X.509 certs. | ||||
| * | Issue #27691: Fix ssl module's parsing of GEN_RID subject alternative name ↵ | Christian Heimes | 2016-09-06 | 1 | -1/+34 |
| | | | | | | | | fields in X.509 certs. | ||||
* | | Issue #26470: Use short name rather than name for compression name to fix ↵ | Christian Heimes | 2016-09-05 | 1 | -6/+1 |
|\ \ | |/ | | | | | #27958. | ||||
| * | Issue #26470: Use short name rather than name for compression name to fix ↵ | Christian Heimes | 2016-09-05 | 1 | -6/+1 |
| | | | | | | | | #27958. | ||||
* | | Issue #27866: Add SSLContext.get_ciphers() method to get a list of all ↵ | Christian Heimes | 2016-09-05 | 1 | -0/+117 |
| | | | | | | | | enabled ciphers. | ||||
* | | Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0. | Christian Heimes | 2016-09-05 | 1 | -45/+136 |
|\ \ | |/ | |||||
| * | Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0. | Christian Heimes | 2016-09-05 | 1 | -45/+136 |
| | | |||||
* | | merge 3.5 (#27773) | Benjamin Peterson | 2016-08-16 | 1 | -6/+4 |
|\ \ | |/ | |||||
| * | fix corner cases in the management of server_hostname (closes #27773) | Benjamin Peterson | 2016-08-16 | 1 | -6/+4 |
| | | |||||
* | | Merge 3.5 (INVALID_SOCKET) | Victor Stinner | 2016-07-22 | 1 | -2/+6 |
|\ \ | |/ | |||||
| * | socket: use INVALID_SOCKET | Victor Stinner | 2016-07-22 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | * Replace "fd = -1" with "fd = INVALID_SOCKET" * Replace "fd < 0" with "fd == INVALID_SOCKET": SOCKET_T is unsigned on Windows Bug found by Pavel Belikov ("Fragment N1"): http://www.viva64.com/en/b/0414/#ID0ECDAE | ||||
* | | Issue #23804: Merge SSL recv() fix from 3.5 | Martin Panter | 2016-07-11 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | Issue #23804: Fix SSL zero-length recv() calls to not block and raise EOF | Martin Panter | 2016-07-11 | 1 | -0/+8 |
| | | |||||
* | | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -22/+22 |
|\ \ | |/ | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -22/+22 |
| | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | merge 3.5 (#24557) | Benjamin Peterson | 2016-07-07 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | assume egd unless OPENSSL_NO_EGD is defined—remove configure check (closes ↵ | Benjamin Peterson | 2016-07-07 | 1 | -2/+2 |
| | | | | | | | | #24557) | ||||
* | | Fix unused variable 'libver' warning in Modules/_ssl.c | Berker Peksag | 2016-04-14 | 1 | -0/+2 |
|\ \ | |/ | | | | | | | | | | | | | | | It can be seen on various buildbots like 3.x.cea-indiana-amd64 and 3.x.murray-snowleopard: /export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Modules/_ssl.c:2227: warning: unused variable 'libver' /Users/buildbot/buildarea/3.x.murray-snowleopard/build/Modules/_ssl.c:2227: warning: unused variable ‘libver’ | ||||
| * | Fix unused variable 'libver' warning in Modules/_ssl.c | Berker Peksag | 2016-04-14 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | It can be seen on various buildbots like 3.x.cea-indiana-amd64 and 3.x.murray-snowleopard: /export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Modules/_ssl.c:2227: warning: unused variable 'libver' /Users/buildbot/buildarea/3.x.murray-snowleopard/build/Modules/_ssl.c:2227: warning: unused variable ‘libver’ | ||||
* | | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -1/+1 |
|\ \ | |/ | | | | | in places where Py_DECREF was used. | ||||
| * | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -1/+1 |
| | | | | | | | | in places where Py_DECREF was used. | ||||
* | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -2/+2 |
| | | |||||
* | | Issue #26644: Merge SSL negative read fix from 3.5 | Martin Panter | 2016-03-27 | 1 | -0/+5 |
|\ \ | |/ | |||||
| * | Issue #26644: Raise ValueError for negative SSLSocket.recv() and read() | Martin Panter | 2016-03-27 | 1 | -0/+5 |
| | | |||||
* | | merge 3.5 (closes #25939) | Benjamin Peterson | 2016-02-18 | 1 | -2/+6 |
|\ \ | |/ | |||||
| * | merge 3.4 (closes #25939) | Benjamin Peterson | 2016-02-18 | 1 | -2/+6 |
| |\ | |||||
| | * | open the cert store readonly | Benjamin Peterson | 2016-02-18 | 1 | -2/+6 |
| | | | | | | | | | | | | Patch from Chi Hsuan Yen. | ||||
* | | | merge 3.5 (closes #25672) | Benjamin Peterson | 2016-01-08 | 1 | -0/+17 |
|\ \ \ | |/ / | |||||
| * | | enable SSL_MODE_RELEASE_BUFFERS | Benjamin Peterson | 2016-01-08 | 1 | -0/+17 |
| | | | | | | | | | | | | Patch by Cory Benfield. | ||||
* | | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 1 | -2/+2 |
|/ / | | | | | | | private functions. | ||||
* | | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -4/+2 |
| | | | | | | | | macro Py_SETREF. | ||||
* | | merge 3.4 (#25578) | Benjamin Peterson | 2015-11-14 | 1 | -2/+5 |
|\ \ | |/ | |||||
| * | rm trailing ws | Benjamin Peterson | 2015-11-14 | 1 | -1/+1 |
| | | |||||
| * | fix possible memory lea k in _get_aia_uri (closes #25578) | Benjamin Peterson | 2015-11-14 | 1 | -1/+4 |
| | | |||||
* | | merge 3.4 (#25569) | Benjamin Peterson | 2015-11-14 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix build with older openssl (#25569) | Benjamin Peterson | 2015-11-14 | 1 | -1/+1 |
| | | |||||
* | | merge 3.4 (#25530) | Benjamin Peterson | 2015-11-12 | 1 | -0/+2 |
|\ \ | |/ |