Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Commit

Permalink
Remove extra logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
gtaban committed Jan 10, 2018
1 parent 6b8cd8b commit 21cf431
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tests/HTTPTests/TLServerTests.swift
Expand Up @@ -533,15 +533,15 @@ class TLSServerTests: XCTestCase {
let myCertPath = URL(fileURLWithPath: #file).appendingPathComponent("../../../Certs/letsEncryptCA/cert.pem").standardized
let myKeyPath = URL(fileURLWithPath: #file).appendingPathComponent("../../../Certs/letsEncryptCA/key.pem").standardized
let config = TLSConfiguration(withCACertificateFilePath: myCAPath.path, usingCertificateFile: myCertPath.path, withKeyFile: myKeyPath.path, usingSelfSignedCerts: false)
print("myCAPath is at: \(myCAPath.absoluteString) ")
print("myCertPath is at: \(myCertPath.absoluteString) ")
print("myKeyPath is at: \(myKeyPath.absoluteString) ")
// print("myCAPath is at: \(myCAPath.absoluteString) ")
// print("myCertPath is at: \(myCertPath.absoluteString) ")
// print("myKeyPath is at: \(myKeyPath.absoluteString) ")

#else
let myP12 = URL(fileURLWithPath: #file).appendingPathComponent("../../../Certs/letsEncryptCA/cert.pfx").standardized
let myPassword = "password"
let config = TLSConfiguration(withChainFilePath: myP12.path, withPassword: myPassword, usingSelfSignedCerts: false)
print("myCertPath is at: \(myP12.absoluteString) ")
// print("myCertPath is at: \(myP12.absoluteString) ")

#endif

Expand Down

0 comments on commit 21cf431

Please sign in to comment.