Commit 3f5b9dd6 authored by Hubert Chathi's avatar Hubert Chathi Committed by Richard van der Hoff
Browse files

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's avatarHubert Chathi <hubert@uhoreg.ca>
parent 18b067a4
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment