From 0348f06a5692f168f2d0d8b77aac81ebb31e2df6 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Wed, 13 Mar 2019 22:39:21 -0400 Subject: rename functions to be more consistent --- javascript/olm_pk.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'javascript') diff --git a/javascript/olm_pk.js b/javascript/olm_pk.js index 80a57aa..2cbe44d 100644 --- a/javascript/olm_pk.js +++ b/javascript/olm_pk.js @@ -302,7 +302,7 @@ PkSigning.prototype['init_with_seed'] = restore_stack(function (seed) { Module['HEAPU8'].set(seed, seed_buffer); var pubkey_length = pk_signing_method( - Module['_olm_pk_sign_public_key_length'] + Module['_olm_pk_signing_public_key_length'] )(); var pubkey_buffer = stack(pubkey_length + NULL_BYTE_PADDING_LENGTH); try { @@ -320,7 +320,7 @@ PkSigning.prototype['init_with_seed'] = restore_stack(function (seed) { PkSigning.prototype['generate_seed'] = restore_stack(function () { var random_length = pk_signing_method( - Module['_olm_pk_sign_seed_length'] + Module['_olm_pk_signing_seed_length'] )(); var random_buffer = random_stack(random_length); var key_arr = new Uint8Array( -- cgit v1.2.3