diff options
-rw-r--r-- | javascript/olm_post.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/javascript/olm_post.js b/javascript/olm_post.js index 9e0294a..fffffad 100644 --- a/javascript/olm_post.js +++ b/javascript/olm_post.js @@ -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(); }; |