Index: test/signatures.js |
diff --git a/test/signatures.js b/test/signatures.js |
index ddc04476f264f672bb5e54446e38d04f2f414e42..5cda7e654dc6612d8bd35d4fae8c3cf2f7363fdf 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) |
{ |