Skip to content

Commit 3624bdd

Browse files
committed
Update test explanation
1 parent 0464d1d commit 3624bdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/NIOSSLTests/NIOSSLIntegrationTest.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)