ssl: various fixes (#3789)

* ssl: fix arg names, mark positional-only args
* ssl: add undocumented parameter to do_handshake
* ssl: fix type of password in load_cert_chain
* ssl: add session parameter to wrap_socket, wrap_bio in py36 on
* ssl: update whitelists
This commit is contained in:
Shantanu
2020-02-29 05:08:47 -08:00
committed by GitHub
parent 16ba411434
commit e4b4cd99c0
5 changed files with 31 additions and 39 deletions

View File

@@ -68,8 +68,6 @@ pyexpat.XMLParserType.ExternalEntityParserCreate
secrets.SystemRandom.getstate
smtplib.SMTP.sendmail
sre_compile.dis
ssl.SSLContext.wrap_bio
ssl.SSLContext.wrap_socket
tkinter.Menu.tk_bindForTraversal
tkinter.Misc.tk_menuBar
typing.AbstractSet.isdisjoint

View File

@@ -86,8 +86,6 @@ queue.SimpleQueue.__init__
secrets.SystemRandom.getstate
smtplib.SMTP.sendmail
sre_constants.RANGE_IGNORE
ssl.SSLContext.wrap_bio
ssl.SSLContext.wrap_socket
struct.calcsize
struct.iter_unpack
struct.unpack

View File

@@ -166,12 +166,6 @@ signal.sigtimedwait
signal.sigwaitinfo
smtplib.SMTP.sendmail
sre_constants.RANGE_IGNORE
ssl.MemoryBIO.read
ssl.MemoryBIO.write
ssl.RAND_bytes
ssl.RAND_pseudo_bytes
ssl.SSLContext.wrap_bio
ssl.SSLContext.wrap_socket
statistics.NormalDist.samples
string.Formatter.format
string.Template.safe_substitute

View File

@@ -703,24 +703,14 @@ sqlite3.version_info
sre_constants.error.__init__
ssl.PROTOCOL_SSLv2
ssl.PROTOCOL_SSLv3
ssl.RAND_add
ssl.RAND_egd
ssl.SSLContext.load_cert_chain
ssl.SSLContext.load_dh_params
ssl.SSLContext.set_alpn_protocols
ssl.SSLContext.set_ciphers
ssl.SSLContext.set_ecdh_curve
ssl.SSLContext.set_npn_protocols
ssl.SSLObject.write
ssl.SSLSocket.connect
ssl.SSLSocket.connect_ex
ssl.SSLSocket.do_handshake
ssl.SSLSocket.recv
ssl.SSLSocket.recv_into
ssl.SSLSocket.recvfrom
ssl.SSLSocket.recvfrom_into
ssl.SSLSocket.sendto
ssl.SSLSocket.write
ssl._ASN1Object.__new__
statistics.median_grouped
string.capwords