diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2018-01-03 21:41:48 -0500 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-01-09 15:57:47 +0000 |
commit | 3f5b9dd6d72540a66da90b382a2eda088af63da0 (patch) | |
tree | bd473fc73e721f53334ced97ba83bb6265ab116c | |
parent | 18b067a46f575299a80349d2a5dce74b7dad88de (diff) |
patch for libolm: fix some typos in JavaScript library
From 4a82d31e8cb808a04956fc847ed0ec0ff322b956 Mon Sep 17 00:00:00 2001
From: Hubert Chathi <hubert@uhoreg.ca>
Date: Wed, 3 Jan 2018 21:37:43 -0500
Subject: [PATCH] fix some typos in JavaScript library
Signed-off-by: Hubert Chathi <hubert@uhoreg.ca>
-rw-r--r-- | javascript/olm_post.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript/olm_post.js b/javascript/olm_post.js index 65eab02..91830fa 100644 --- a/javascript/olm_post.js +++ b/javascript/olm_post.js @@ -433,9 +433,9 @@ Utility.prototype['sha256'] = restore_stack(function(input) { var input_array = array_from_string(input); var input_buffer = stack(input_array); var output_buffer = stack(output_length + NULL_BYTE_PADDING_LENGTH); - utility_method(Module['_olm_sha2516'])( + utility_method(Module['_olm_sha256'])( this.ptr, - input_buffer, input_array.length(), + input_buffer, input_array.length, output_buffer, output_length ); return Pointer_stringify(output_buffer); |