268 Commits (391af751f2a19476cfaa53ddc35fd53aaa582e9c)

Author SHA1 Message Date
Larry Hastings dbfdc380df Issue #24001: Argument Clinic converters now use accept={type} 11 years ago
Serhiy Storchaka 4b7b82f133 Issue #20179: Converted the _ssl module to Argument Clinic. 11 years ago
Benjamin Peterson 43b842775f remove extra arguments in arg parsing format codes (closes #23875) 11 years ago
Victor Stinner 146907081c Issue #23853: Methods of SSL socket don't reset the socket timeout anymore each 11 years ago
Victor Stinner 4e3cfa46dc Issue #23853: Cleanup _ssl.c 11 years ago
Victor Stinner 869e1778c0 Issue #22117: Replace usage of _PyTime_ROUND_UP with _PyTime_ROUND_CEILING 11 years ago
Victor Stinner ea9c0dd2c2 Issue #22117: Fix usage of _PyTime_AsTimeval() 11 years ago
Victor Stinner e245231fab Issue #22117: Fix ssl to use _PyTime_t API on sock_timeout 11 years ago
Serhiy Storchaka 8490f5acfe Issue #23001: Few functions in modules mmap, ossaudiodev, socket, ssl, and 11 years ago
Victor Stinner e42ccd2bfd Issue #23694: Enhance _Py_fopen(), it now raises an exception on error 11 years ago
Benjamin Peterson 990fcaac3c expose X509_V_FLAG_TRUSTED_FIRST 11 years ago
Benjamin Peterson fdb1971587 enable X509_V_FLAG_TRUSTED_FIRST when possible (closes #23476) 11 years ago
Antoine Pitrou f7f3b0a14a Issue #23576: Avoid stalling in SSL reads when EOF has been reached in the SSL layer but the underlying connection hasn't been closed. 11 years ago
Serhiy Storchaka 1a1ff29659 Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer 11 years ago
Benjamin Peterson c54de47759 ifdef our way to compatibility with old openssl (closes #23335) 11 years ago
Benjamin Peterson 07f0515667 disable ALPN on LibreSSL, which has a large version number, but not ALPN support (closes #23329) 11 years ago
Benjamin Peterson 8861502e07 prefer server alpn ordering over the client's 11 years ago
Benjamin Peterson cca2732a82 add support for ALPN (closes #20188) 11 years ago
Benjamin Peterson baf7c1e546 use SSL_get_session 11 years ago
Benjamin Peterson 4cb17812d9 expose the client's cipher suites from the handshake (closes #23186) 11 years ago
Victor Stinner fcfed19913 Issue #21356: Make ssl.RAND_egd() optional to support LibreSSL. The 11 years ago
Antoine Pitrou 5e8430d02c Issue #23143: Remove compatibility with OpenSSLs older than 0.9.8. 11 years ago
Benjamin Peterson e32467cf6a allow ssl module to compile if openssl doesn't support SSL 3 (closes #22935) 11 years ago
Benjamin Peterson 7243b574e5 don't require OpenSSL SNI to pass hostname to ssl functions (#22921) 11 years ago
Victor Stinner beeb512fe1 Issue #21356: Make ssl.RAND_egd() optional to support LibreSSL. The 11 years ago
Antoine Pitrou b1fdf47ff5 Issue #21965: Add support for in-memory SSL to the ssl module. 11 years ago
Antoine Pitrou 47e40429fb Issue #20421: Add a .version() method to SSL sockets exposing the actual protocol version in use. 11 years ago
Victor Stinner cd75298611 Issue #21781, _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" format requires 12 years ago
Victor Stinner 2e57b4e488 Issue #21781: Make the ssl module "ssize_t clean" for parsing parameters. 12 years ago
Victor Stinner 45e8e2f218 Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY() 12 years ago
Antoine Pitrou 0bebbc33fa Issue #21015: SSL contexts will now automatically select an elliptic curve for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise default to "prime256v1". 12 years ago
Gregory P. Smith f34890937b avoid a compiler warning about assigning const char * to char *. 12 years ago
Antoine Pitrou 2f7c31678a Remove conditional: it is useless at this point (OpenSSL headers are not yet included) 12 years ago
Antoine Pitrou cd3d7cabef Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly asked for. 12 years ago
Victor Stinner 1e81a399a2 Issue #20025: ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() now raise a 12 years ago
Christian Heimes 1aa9a75fbf Issue #19509: Add SSLContext.check_hostname to match the peer's certificate 12 years ago
Christian Heimes 470fba1f9f SNI was added in OpenSSL 0.9.8f [11 Oct 2007], too 12 years ago
Christian Heimes 2427b50fdd Issue #8813: X509_VERIFY_PARAM is only available on OpenSSL 0.9.8+ 12 years ago
Christian Heimes 5398e1a56e Issue #19448: report name / NID in exception message of ASN1Object 12 years ago
Christian Heimes f22e8e5426 Issue #18147: Add missing documentation for SSLContext.get_ca_certs(). 12 years ago
Christian Heimes 44109d7de7 Issue #17134: Finalize interface to Windows' certificate store. Cert and 12 years ago
Christian Heimes 1dbf61fa46 downcast len to int. The code has already checked that len < INT_MAX 12 years ago
Christian Heimes 18fc7be80d lst might be NULL here 12 years ago
Christian Heimes 225877917e Issue #8813: Add SSLContext.verify_flags to change the verification flags 12 years ago
Christian Heimes 949ec14209 Issue #19682: Fix compatibility issue with old version of OpenSSL that 12 years ago
Christian Heimes bd3a7f90b5 Issue #18379: SSLSocket.getpeercert() returns CA issuer AIA fields, OCSP 12 years ago
Christian Heimes efff7060f8 Issue #18138: Implement cadata argument of SSLContext.load_verify_location() 12 years ago
Christian Heimes b08ff7dcb4 Safely downcast SOCKET_T to int in _ssl module 12 years ago
Christian Heimes a6bc95aa02 Issue #19448: Add private API to SSL module to lookup ASN.1 objects by OID, NID, short name and long name. 12 years ago
Victor Stinner a9eb38f02a Issue #19437: Fix newPySSLSocket(), handle PyWeakref_NewRef() failure 12 years ago