mirror of
https://github.com/moparisthebest/mail
synced 2025-01-08 12:08:07 -05:00
Merge branch 'master' into ecc
This commit is contained in:
commit
7f32edc488
@ -143,7 +143,7 @@ app.crypto.Util = function(window, uuid) {
|
|||||||
var b = new Uint8Array(buf);
|
var b = new Uint8Array(buf);
|
||||||
var str = '';
|
var str = '';
|
||||||
|
|
||||||
for (var i = 0; i < b.byteLength; i++) {
|
for (var i = 0; i < b.length; i++) {
|
||||||
str += String.fromCharCode(b[i]);
|
str += String.fromCharCode(b[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -158,7 +158,7 @@ app.crypto.Util = function(window, uuid) {
|
|||||||
this.uint8Arr2BinStr = function(buf) {
|
this.uint8Arr2BinStr = function(buf) {
|
||||||
var str = '';
|
var str = '';
|
||||||
|
|
||||||
for (var i = 0; i < buf.byteLength; i++) {
|
for (var i = 0; i < buf.length; i++) {
|
||||||
str += String.fromCharCode(buf[i]);
|
str += String.fromCharCode(buf[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user