Age | Commit message (Collapse) | Author |
|
(cherry picked from commit 8106d33d0f13825b4459898ca20282ba5b543897)
|
|
And include #72377.
Co-authored-by: Wiktor Kocielski <withaust@gmail.com>
|
|
Which was unused internally, and can be replaced by:
```
while tls.get_status() == tls.STATUS_HANDSHAKING:
tls.poll()
```
|
|
Use a TLSOptions configuration object which is created via static
functions.
- "TLSOptions.client": uses the standard CA and common name verification.
- "TLSOptions.client_unsafe": uses optional CA verification (i.e. if specified)
- "TLSOptions.server": is the standard server configuration (chain + key)
This will allow us to expand the TLS configuration options to include
e.g. mutual authentication without bloating the classes that uses
StreamPeerTLS and PacketPeerDTLS as underlying peers.
|
|
|
|
SSL has been deprectated almost 10 years ago.
|