Add an export for the length of a private key
This commit is contained in:
parent
8635d68ba8
commit
e521ee84c5
1 changed files with 1 additions and 0 deletions
|
@ -466,6 +466,7 @@ olm_exports["get_library_version"] = restore_stack(function() {
|
|||
|
||||
Module['onRuntimeInitialized'] = function() {
|
||||
OLM_ERROR = Module['_olm_error']();
|
||||
olm_exports["PRIVATE_KEY_LENGTH"] = Module['_olm_pk_private_key_length']();
|
||||
if (onInitSuccess) onInitSuccess();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue