Index: test/signatures.js |
diff --git a/test/signatures.js b/test/signatures.js |
index ddc04476f264f672bb5e54446e38d04f2f414e42..d425ed0b41d86b9c825217082979f37661e7bd3d 100644 |
--- a/test/signatures.js |
+++ b/test/signatures.js |
@@ -17,7 +17,19 @@ |
"use strict"; |
-let {verifySignature} = require("rsa"); |
+let {createSandbox} = require("common"); |
+ |
+let verifySignature = null; |
+ |
+exports.setUp = function(callback) |
+{ |
+ let sandboxedRequire = createSandbox(); |
+ ( |
+ {verifySignature} = sandboxedRequire("rsa") |
+ ); |
+ |
+ callback(); |
+}; |
exports.test512bitSigningKey = function(test) |
{ |