diff options
Diffstat (limited to 'javascript/olm_pre.js')
-rw-r--r-- | javascript/olm_pre.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/javascript/olm_pre.js b/javascript/olm_pre.js index 18d836d..314d7da 100644 --- a/javascript/olm_pre.js +++ b/javascript/olm_pre.js @@ -40,6 +40,7 @@ var NULL_BYTE_PADDING_LENGTH = 1; Module['onRuntimeInitialized'] = function() { OLM_ERROR = Module['_olm_error'](); + olm_exports["PRIVATE_KEY_LENGTH"] = Module['_olm_pk_private_key_length'](); if (onInitSuccess) onInitSuccess(); }; |