Fix not propagated checksEKU flag

This commit is contained in:
Davide De Rosa 2019-03-18 17:27:48 +01:00
parent 7d69e09c53
commit 08b04c8e02
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Several reconnection issues.
- Missing EKU flag evaluation.
## 1.4.2 (2019-03-05)

View File

@ -778,7 +778,7 @@ public class SessionProxy {
caPath: caURL.path,
clientCertificatePath: (configuration.clientCertificate != nil) ? clientCertificateURL.path : nil,
clientKeyPath: (configuration.clientKey != nil) ? clientKeyURL.path : nil,
checksEKU: true
checksEKU: configuration.checksEKU ?? false
)
do {
try negotiationKey.tls.start()