am e8a1f6af: Merge change 4961 into donut
Merge commit 'e8a1f6af96d09d8105621932073d6f79e24a5dc9' * commit 'e8a1f6af96d09d8105621932073d6f79e24a5dc9': Set organizations to be null for generateKeyPair to use the default.
This commit is contained in:
committed by
The Android Open Source Project
commit
526abb93fb
@@ -227,7 +227,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();
|
||||
|
||||
Reference in New Issue
Block a user