From c474b47c18d32afa0ad84a6caf0c0ceac6f1b13a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20=C4=8Eurech?= Date: Fri, 4 Oct 2019 10:01:46 +0200 Subject: [PATCH] Fixed #7: Wrong fallback certificate config now produce fatal error. --- Source/Lib/CertStoreConfiguration.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Lib/CertStoreConfiguration.swift b/Source/Lib/CertStoreConfiguration.swift index c2583f4..9df9b84 100644 --- a/Source/Lib/CertStoreConfiguration.swift +++ b/Source/Lib/CertStoreConfiguration.swift @@ -129,7 +129,7 @@ extension CertStoreConfiguration { } } } else { - WultraDebug.error("CertStore: '.fallbackCertificatesData' contains invalid JSON.") + WultraDebug.fatalError("CertStore: '.fallbackCertificatesData' contains invalid JSON.") } } // Validate EC public key (will crash on fatal error, for invalid key)