File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2656,8 +2656,8 @@ class NIOSSLIntegrationTest: XCTestCase {
26562656 }
26572657
26582658 func testMacOSConnectionSuccessfulIfServerVerificationOptionalAndPeerPresentsTrustedCert( ) throws {
2659- // This test checks that when setting verification to `.optionalVerification`, a peer cannot successfully
2660- // connect when they present an untrusted certificate. On macOS, this exercises the SecTrust validation backend,
2659+ // This test checks that when setting verification to `.optionalVerification`, a peer can successfully
2660+ // connect when they present a trusted certificate. On macOS, this exercises the SecTrust validation backend,
26612661 // as `serverConfig.trustRoots` is set to `.default` and the client cert is registered under
26622662 // `additionalTrustRoots` (see the behavioral matrix in `NIOSSL/Docs.docc/trust-roots-behavior.md`).
26632663 var clientConfig = TLSConfiguration . makeClientConfiguration ( )
You can’t perform that action at this time.
0 commit comments