From c933f782e2402081446266c21c3490ca440a8eb3 Mon Sep 17 00:00:00 2001 From: brennobemoura <37243584+brennobemoura@users.noreply.github.com> Date: Sun, 25 Jun 2023 15:53:19 -0300 Subject: [PATCH] Removed duplicated code --- .../NIOTransportServices/TLSConfiguration.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Sources/AsyncHTTPClient/NIOTransportServices/TLSConfiguration.swift b/Sources/AsyncHTTPClient/NIOTransportServices/TLSConfiguration.swift index f79954da7..06ae5e146 100644 --- a/Sources/AsyncHTTPClient/NIOTransportServices/TLSConfiguration.swift +++ b/Sources/AsyncHTTPClient/NIOTransportServices/TLSConfiguration.swift @@ -121,11 +121,6 @@ extension TLSConfiguration { } } - // the certificate chain - if self.certificateChain.count > 0 { - preconditionFailure("TLSConfiguration.certificateChain is not supported. \(useMTELGExplainer)") - } - // cipher suites if self.cipherSuites.count > 0 { // TODO: Requires NIOSSL to provide list of cipher values before we can continue