Commit e521ee84 authored by David Baker's avatar David Baker
Browse files

Add an export for the length of a private key

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