Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8a1f6af authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 4961 into donut

* changes:
  Set organizations to be null for generateKeyPair to use the default.
parents 2830b922 9427c285
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -192,7 +192,8 @@ final class JWebCoreJavaBridge extends Handler {
    }

    private String getSignedPublicKey(int index, String challenge, String url) {
        return Keystore.getInstance().generateKeyPair(index, challenge, url);
        // generateKeyPair expects organizations which we don't have. Ignore url.
        return Keystore.getInstance().generateKeyPair(index, challenge, null);
    }

    private native void nativeConstructor();