Merge change 4961 into donut
* changes: Set organizations to be null for generateKeyPair to use the default.
This commit is contained in:
@@ -192,7 +192,8 @@ final class JWebCoreJavaBridge extends Handler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private String getSignedPublicKey(int index, String challenge, String url) {
|
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();
|
private native void nativeConstructor();
|
||||||
|
|||||||
Reference in New Issue
Block a user