Fix warnings from 'make minify' + other bugs
This commit is contained in:
parent
1cd7b542a0
commit
8b854a2ad1
|
@ -389,7 +389,6 @@ function openpgp_crypto_getRandomBigIntegerInRange(min, max) {
|
||||||
|
|
||||||
//This is a test method to ensure that encryption/decryption with a given 1024bit RSAKey object functions as intended
|
//This is a test method to ensure that encryption/decryption with a given 1024bit RSAKey object functions as intended
|
||||||
function openpgp_crypto_testRSA(key){
|
function openpgp_crypto_testRSA(key){
|
||||||
debugger;
|
|
||||||
var rsa = new RSA();
|
var rsa = new RSA();
|
||||||
var mpi = new openpgp_type_mpi();
|
var mpi = new openpgp_type_mpi();
|
||||||
mpi.create(openpgp_encoding_eme_pkcs1_encode('ABABABAB', 128));
|
mpi.create(openpgp_encoding_eme_pkcs1_encode('ABABABAB', 128));
|
||||||
|
|
|
@ -343,9 +343,6 @@ JXG.Util.Unzip = function (barray){
|
||||||
X = currentTree[xtreepos];
|
X = currentTree[xtreepos];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (debug)
|
|
||||||
document.write("ret3");
|
|
||||||
return -1;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
function DeflateLoop() {
|
function DeflateLoop() {
|
||||||
|
@ -787,7 +784,7 @@ JXG.Util.Unzip.prototype.unzip = function() {
|
||||||
CRC = 0xffffffff;
|
CRC = 0xffffffff;
|
||||||
SIZE = 0;
|
SIZE = 0;
|
||||||
|
|
||||||
if (size = 0 && fileOut.charAt(fileout.length-1)=="/"){
|
if (size == 0 && fileOut.charAt(fileout.length-1)=="/"){
|
||||||
//skipdir
|
//skipdir
|
||||||
if (debug)
|
if (debug)
|
||||||
alert("skipdir");
|
alert("skipdir");
|
||||||
|
|
|
@ -69,7 +69,7 @@ function openpgp_encoding_deArmor(text) {
|
||||||
util.print_error("Ascii armor integrity check on message failed: '"
|
util.print_error("Ascii armor integrity check on message failed: '"
|
||||||
+ checksum
|
+ checksum
|
||||||
+ "' should be '"
|
+ "' should be '"
|
||||||
+ getCheckSum(data)) + "'";
|
+ getCheckSum(data) + "'");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -20,9 +20,6 @@
|
||||||
* @classdesc Decoded public key object for internal openpgp.js use
|
* @classdesc Decoded public key object for internal openpgp.js use
|
||||||
*/
|
*/
|
||||||
function openpgp_msg_publickey() {
|
function openpgp_msg_publickey() {
|
||||||
this.data;
|
|
||||||
this.position;
|
|
||||||
this.len;
|
|
||||||
this.tostring = "OPENPGP PUBLIC KEY\n";
|
this.tostring = "OPENPGP PUBLIC KEY\n";
|
||||||
this.bindingSignature = null;
|
this.bindingSignature = null;
|
||||||
this.publicKeyPacket = null;
|
this.publicKeyPacket = null;
|
||||||
|
|
|
@ -135,7 +135,7 @@ function openpgp_packet_keymaterial() {
|
||||||
|
|
||||||
// - A two-octet number denoting the time in days that this key is
|
// - A two-octet number denoting the time in days that this key is
|
||||||
// valid. If this number is zero, then it does not expire.
|
// valid. If this number is zero, then it does not expire.
|
||||||
this.expiration = (input[mypos++].charCodeAt() << 8) & input[mypos++].charCodeAt();
|
this.expiration = (input[mypos++].charCodeAt() << 8) | input[mypos++].charCodeAt();
|
||||||
|
|
||||||
// - A one-octet number denoting the public-key algorithm of this key.
|
// - A one-octet number denoting the public-key algorithm of this key.
|
||||||
this.publicKeyAlgorithm = input[mypos++].charCodeAt();
|
this.publicKeyAlgorithm = input[mypos++].charCodeAt();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user