stuff
This commit is contained in:
parent
4f73cdb7af
commit
d894570bd4
@ -5,17 +5,12 @@
|
|||||||
* License MIT
|
* License MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var constants = require('constants');
|
|
||||||
var rsa = require('./libs/rsa.js');
|
var rsa = require('./libs/rsa.js');
|
||||||
var _ = require('./utils')._;
|
var _ = require('./utils')._;
|
||||||
var utils = require('./utils');
|
var utils = require('./utils');
|
||||||
var schemes = require('./schemes/schemes.js');
|
var schemes = require('./schemes/schemes.js');
|
||||||
var formats = require('./formats/formats.js');
|
var formats = require('./formats/formats.js');
|
||||||
|
|
||||||
if (typeof constants.RSA_NO_PADDING === "undefined") {
|
|
||||||
//patch for node v0.10.x, constants do not defined
|
|
||||||
constants.RSA_NO_PADDING = 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = (function () {
|
module.exports = (function () {
|
||||||
var SUPPORTED_HASH_ALGORITHMS = {
|
var SUPPORTED_HASH_ALGORITHMS = {
|
||||||
|
Loading…
Reference in New Issue
Block a user