Skip to content

Commit

Permalink
Fixed #7: Wrong fallback certificate config now produce fatal error.
Browse files Browse the repository at this point in the history
  • Loading branch information
hvge committed Oct 4, 2019
1 parent 8bb8f41 commit 8f93af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Lib/CertStoreConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8f93af0

Please sign in to comment.