Skip to content

Commit 3ec905e

Browse files
authored
ssl.{SSLSession,MemoryBIO} (RustPython#6209)
* SSLSession * get_unverified_chain * SSL MemoryBIO
1 parent 2463bdf commit 3ec905e

File tree

2 files changed

+398
-10
lines changed

2 files changed

+398
-10
lines changed

Lib/ssl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
import _ssl # if we can't import it, let the error propagate
9999

100100
from _ssl import OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_INFO, OPENSSL_VERSION
101-
from _ssl import _SSLContext#, MemoryBIO, SSLSession
101+
from _ssl import _SSLContext, SSLSession, MemoryBIO
102102
from _ssl import (
103103
SSLError, SSLZeroReturnError, SSLWantReadError, SSLWantWriteError,
104104
SSLSyscallError, SSLEOFError, SSLCertVerificationError
@@ -114,7 +114,7 @@
114114

115115
from _ssl import (
116116
HAS_SNI, HAS_ECDH, HAS_NPN, HAS_ALPN, HAS_SSLv2, HAS_SSLv3, HAS_TLSv1,
117-
HAS_TLSv1_1, HAS_TLSv1_2, HAS_TLSv1_3
117+
HAS_TLSv1_1, HAS_TLSv1_2, HAS_TLSv1_3, HAS_PSK
118118
)
119119
from _ssl import _DEFAULT_CIPHERS, _OPENSSL_API_VERSION
120120

0 commit comments

Comments
 (0)