Set TLSStream default to use TLS1.2 only.
This commit is contained in:
parent
3d74c5cdd2
commit
1789328748
|
@ -416,7 +416,7 @@ proc newTLSClientAsyncStream*(rsource: AsyncStreamReader,
|
|||
wsource: AsyncStreamWriter,
|
||||
serverName: string,
|
||||
bufferSize = SSL_BUFSIZE_BIDI,
|
||||
minVersion = TLSVersion.TLS11,
|
||||
minVersion = TLSVersion.TLS12,
|
||||
maxVersion = TLSVersion.TLS12,
|
||||
flags: set[TLSFlags] = {}): TLSAsyncStream =
|
||||
## Create new TLS asynchronous stream for outbound (client) connections
|
||||
|
|
Loading…
Reference in New Issue