Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matrix-org
Olm
Commits
3ed0ec22
Commit
3ed0ec22
authored
Jun 28, 2018
by
Hubert Chathi
Browse files
add termination
parent
b91c7772
Changes
1
Hide whitespace changes
Inline
Side-by-side
javascript/olm_pk.js
View file @
3ed0ec22
...
...
@@ -126,7 +126,7 @@ PkDecryption.prototype['generate_key'] = restore_stack(function () {
var
pubkey_length
=
pk_encryption_method
(
Module
[
'
_olm_pk_key_length
'
]
)();
var
pubkey_buffer
=
stack
(
pubkey_length
);
var
pubkey_buffer
=
stack
(
pubkey_length
+
NULL_BYTE_PADDING_LENGTH
);
pk_decryption_method
(
Module
[
'
_olm_pk_generate_key
'
])(
this
.
ptr
,
pubkey_buffer
,
pubkey_length
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment