Renamed utils file

This commit is contained in:
Juha Heinanen
2025-10-17 09:33:28 +03:00
parent 9495a7d399
commit 9e64fcd07f
2 changed files with 2 additions and 2 deletions

View File

@ -1542,7 +1542,7 @@ private fun initAccountFromConfig(acc: Account, onConfigLoaded: () -> Unit) {
val caFile = File(BaresipService.filesPath + "/ca_certs.crt")
val config = try {
if (caFile.exists())
Utils.readUrlWithCustomCas(URL(url), caFile)
Utils.readUrlWithCustomCAs(URL(url), caFile)
else
URL(url).readText()
} catch (e: java.lang.Exception) {

View File

@ -1006,7 +1006,7 @@ object Utils {
Api.AAudio_close_stream()
}
fun readUrlWithCustomCas(url: URL, caFile: File): String? {
fun readUrlWithCustomCAs(url: URL, caFile: File): String? {
if (!caFile.exists()) {
Log.d("Utils", "Custom CA file not found at ${caFile.path}")
return null