mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-03-28 17:12:21 +00:00
Fix certificate start time
This commit is contained in:
parent
87c2f6ad14
commit
7f4f95cf83
@ -41,7 +41,7 @@ class Keygen(context: Context) : CertKeyProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private val start = Calendar.getInstance().apply { add(Calendar.MONTH, -3) }
|
private val start = Calendar.getInstance().apply { add(Calendar.MONTH, -3) }
|
||||||
private val end = start.apply { add(Calendar.YEAR, 30) }
|
private val end = (start.clone() as Calendar).apply { add(Calendar.YEAR, 30) }
|
||||||
|
|
||||||
override val cert get() = provider.cert
|
override val cert get() = provider.cert
|
||||||
override val key get() = provider.key
|
override val key get() = provider.key
|
||||||
|
Loading…
x
Reference in New Issue
Block a user