From 08fb4b877dfc35413c147467a5743d2d0f0fc9d4 Mon Sep 17 00:00:00 2001
From: Lloyd Hilaiel <lloyd@hilaiel.com>
Date: Mon, 9 Jul 2012 12:31:08 -0600
Subject: [PATCH] frontend unit tests should use the same keylength that we use
 in our service.  and this will make them go faster and fix ie8

---
 resources/static/test/mocks/provisioning.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resources/static/test/mocks/provisioning.js b/resources/static/test/mocks/provisioning.js
index 13907e4d7..59101556f 100644
--- a/resources/static/test/mocks/provisioning.js
+++ b/resources/static/test/mocks/provisioning.js
@@ -23,7 +23,7 @@ BrowserID.Mocks.Provisioning = (function() {
         // network.withContext, add a random seed to ensure that we can get our
         // keypair.
         jwcrypto.addEntropy("H+ZgKuhjVckv/H4i0Qvj/JGJEGDVOXSIS5RCOjY9/Bo=");
-        jwcrypto.generateKeypair({algorithm: "DS", keysize: 256}, function(err, kp) {
+        jwcrypto.generateKeypair({algorithm: "DS", keysize: BrowserID.KEY_LENGTH}, function(err, kp) {
           keypair = kp;
           if (onsuccess) onsuccess(keypair, cert);
         });
-- 
GitLab