Files
swift-nio-ssl/Tests
Cory Benfield 77a3bf1788 Fixup CA name tests on Darwin (#320)
Motivation:

The recently-added CA name tests consistently fail on Darwin machines.
This is becuase they expect the handshake to fail due to certificate
verification errors, but that doesn't happen synchronously on Darwin.
This also introduces thread-unsafety into the tests. Neither is good.

Modifications:

- Modify the test configuration to use custom trust roots, which
  disables the Security.framework callbacks
- Modify the test configuration to disable hostname verification.

Result:

These tests now successfully perform their handshake on all platforms.
2021-09-16 09:45:42 +01:00
..