Skip to content

Commit

Permalink
Fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
RikkaW committed Nov 7, 2021
1 parent 786f631 commit 53b15fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import rikka.material.app.DayNightDelegate
class AppApplication : Application() {
companion object {
const val TAG = "KeyAttestation"

@JvmStatic
lateinit var App: Application private set
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public class VerifyCertificateChain {
public static boolean verifyCertificateChain(X509Certificate[] certs)

This comment has been minimized.

Copy link
@Rumredd187

Rumredd187 Mar 20, 2022

H

throws GeneralSecurityException {
X509Certificate parent = certs[certs.length - 1];
var context = AppApplication.App.getApplicationContext();
var context = AppApplication.getApp().getApplicationContext();
var stream = context.getResources().openRawResource(R.raw.status);
JsonObject entries = CertificateRevocationStatus.parseStatus(stream);
for (int i = certs.length - 1; i >= 0; i--) {
Expand Down

0 comments on commit 53b15fc

Please sign in to comment.