diff options
Diffstat (limited to 'lib/crypto.js')
-rw-r--r-- | lib/crypto.js | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/lib/crypto.js b/lib/crypto.js index 4a0db0ecb0..206a201408 100644 --- a/lib/crypto.js +++ b/lib/crypto.js @@ -3579,8 +3579,7 @@ var RootCaCerts = [ +"I2bw/FWAp/tmGYI1Z2JwOV5vx+qQQEQIHriy1tvuWacNGHk0vFQYXlPKNFHtRQrmjseCNj6nOGOp\n" +"MCwXEGCSn1WHElkQwg9naRHMTh5+Spqtr0CodaxWkHS4oJyleW/c6RrIaQXpuvoDs3zk4E7Czp3o\n" +"tkYNbn5XOmeUwssfnHdKZ05phkOTOPu220+DkdRgfks+KzgHVZhepA==\n" -+"-----END CERTIFICATE-----\n", - ++"-----END CERTIFICATE-----\n" ]; var sys = require("sys"); @@ -3630,45 +3629,45 @@ exports.createCredentials = function(cred) { } } return c; -} +}; exports.Credentials = Credentials; exports.Hash = Hash; exports.createHash = function(hash) { return new Hash(hash); -} +}; exports.Hmac = Hmac; exports.createHmac = function(hmac, key) { return (new Hmac).init(hmac, key); -} +}; exports.Cipher = Cipher; exports.createCipher = function(cipher, key) { return (new Cipher).init(cipher, key); -} +}; exports.createCipheriv = function(cipher, key, iv) { return (new Cipher).initiv(cipher, key, iv); -} +}; exports.Decipher = Decipher; exports.createDecipher = function(cipher, key) { return (new Decipher).init(cipher, key); -} +}; exports.createDecipheriv = function(cipher, key, iv) { return (new Decipher).initiv(cipher, key, iv); -} +}; exports.Sign = Sign; exports.createSign = function(algorithm) { return (new Sign).init(algorithm); -} +}; exports.Verify = Verify; exports.createVerify = function(algorithm) { return (new Verify).init(algorithm); -} +}; exports.RootCaCerts = RootCaCerts; |