diff options
Diffstat (limited to 'javascript/olm_pk.js')
-rw-r--r-- | javascript/olm_pk.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/olm_pk.js b/javascript/olm_pk.js index e63e907..700139d 100644 --- a/javascript/olm_pk.js +++ b/javascript/olm_pk.js @@ -120,7 +120,7 @@ PkDecryption.prototype['free'] = function() { PkDecryption.prototype['generate_key'] = restore_stack(function () { var random_length = pk_decryption_method( - Module['_olm_pk_key_length'] // FIXME: wrong method + Module['_olm_pk_generate_key_random_length'] )(); var random_buffer = random_stack(random_length); var pubkey_length = pk_encryption_method( |