Skip to content
Snippets Groups Projects
Commit e521ee84 authored by David Baker's avatar David Baker
Browse files

Add an export for the length of a private key

parent 8635d68b
No related branches found
No related tags found
No related merge requests found
......@@ -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();
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment