diff --git a/TunnelKitTests/EncryptionTests.swift b/TunnelKitTests/EncryptionTests.swift index 7136934..c3c2be4 100644 --- a/TunnelKitTests/EncryptionTests.swift +++ b/TunnelKitTests/EncryptionTests.swift @@ -90,7 +90,7 @@ class EncryptionTests: XCTestCase { func testCertificateMD5() { let path = Bundle(for: EncryptionTests.self).path(forResource: "pia-2048", ofType: "pem")! - let md5 = TLSBox.md5(forCertificatePath: path) + let md5 = try! TLSBox.md5(forCertificatePath: path) let exp = "e2fccccaba712ccc68449b1c56427ac1" print(md5) XCTAssertEqual(md5, exp)