Skip to content

Commit 8ccdf29

Browse files
committed
Adjust NIO SSL patch on CI for upstream changes
1 parent a5c6cc6 commit 8ccdf29

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

swift-nio-ssl-test.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ index 494186e..090ceb8 100644
1010
+import Android
1111
+#endif
1212
+
13-
let samplePemCert = """
14-
-----BEGIN CERTIFICATE-----
15-
MIIGGzCCBAOgAwIBAgIJAJ/X0Fo0ynmEMA0GCSqGSIb3DQEBCwUAMIGjMQswCQYD
13+
#if compiler(>=6.1)
14+
internal import CNIOBoringSSL
15+
#else
1616
diff --git a/Tests/NIOSSLTests/SSLCertificateTest.swift b/Tests/NIOSSLTests/SSLCertificateTest.swift
1717
index 18d3a1a..9bbd447 100644
1818
--- a/Tests/NIOSSLTests/SSLCertificateTest.swift
@@ -55,5 +55,5 @@ index 7ef2dfd..a8c6ac1 100644
5555
+#endif
5656
+
5757
class SSLPrivateKeyTest: XCTestCase {
58-
static var pemKeyFilePath: String! = nil
59-
static var derKeyFilePath: String! = nil
58+
static let dynamicallyGeneratedKey = generateSelfSignedCert().1
59+

0 commit comments

Comments
 (0)