mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-23 09:56:00 +03:00
Let variable be "val" if possible.
This commit is contained in:
parent
aeb41bc516
commit
b767c2fa54
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ data class Fingerprint(
|
|||
|
||||
@Throws(CertificateException::class)
|
||||
fun matchesCert(cert: X509Certificate): Boolean {
|
||||
var o: Fingerprint? = when (hashType) {
|
||||
val o: Fingerprint? = when (hashType) {
|
||||
HashType.SHA256 -> newSha256Fingerprint(cert)
|
||||
HashType.SHA1 -> newSha1Fingerprint(cert)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue