mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 20:37:39 +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 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 key get() = provider.key
|
||||
|
Loading…
x
Reference in New Issue
Block a user