[6.3.0] fix cert null bug and add func of request cert file

This commit is contained in:
EmArrow
2024-03-13 18:30:44 +08:00
parent 86a8509237
commit 52daec6775
5 changed files with 38 additions and 7 deletions

View File

@@ -105,10 +105,10 @@ class CertFileManager : IMoGoCertProvider {
}
override fun getDeviceCrtF(): String? {
return deviceCrtFile?:SharedPrefsMgr.getInstance().getString(securityKeyTAG, "")
return deviceCrtFile?:SharedPrefsMgr.getInstance().getString(securityKeyTAG, null)
}
override fun getRootCrtF(): String? {
return rootCrtFile?:SharedPrefsMgr.getInstance().getString(securityRootTAG, "")
return rootCrtFile?:SharedPrefsMgr.getInstance().getString(securityRootTAG, null)
}
}