verify certificates using a client TLS config, if given

ref #407
This commit is contained in:
Marten Seemann
2017-02-03 15:46:38 +07:00
parent b455f3ee6a
commit 713df41c8b
3 changed files with 137 additions and 6 deletions

View File

@@ -73,7 +73,7 @@ func NewCryptoSetupClient(
connID: connID,
version: version,
cryptoStream: cryptoStream,
certManager: crypto.NewCertManager(),
certManager: crypto.NewCertManager(nil),
connectionParameters: connectionParameters,
keyDerivation: crypto.DeriveKeysAESGCM,
aeadChanged: aeadChanged,