pummel crypto tests parches

This commit is contained in:
jfdenise 2013-11-19 15:54:01 +01:00
parent 26cdf26de6
commit f1e5a2fab2
2 changed files with 15 additions and 1 deletions

View File

@ -339,6 +339,8 @@
<!-- benchmark -->
<apply-diff src="benchmark" mod="${benchmark.dir}" name="common.js"/>
<!-- pummel -->
<apply-diff src="test/pummel" mod="${test.dir}/crypto" name="test-crypto-dh.js"/>
<apply-diff src="test/pummel" mod="${test.dir}/pummel" name="test-dh-regr.js"/>
<apply-diff src="test/pummel" mod="${test.dir}/pummel" name="test-exec.js"/>
<apply-diff src="test/pummel" mod="${test.dir}/pummel" name="test-net-pingpong.js"/>
<apply-diff src="test/pummel" mod="${test.dir}/pummel" name="test-net-throttle.js"/>
@ -410,7 +412,8 @@
<!-- benchmark -->
<apply-patch-file target="${benchmark.dir}" dir="benchmark" name="common.js"/>
<!-- pummel -->
<apply-patch-file target="${test.dir}/pummel" dir="test/pummel" name="test-exec.js"/>
<apply-patch-file target="${test.dir}/pummel" dir="test/crypto" name="test-crypto-dh.js"/>
<apply-patch-file target="${test.dir}/pummel" dir="test/pummel" name="test-dh-regr.js"/>
<apply-patch-file target="${test.dir}/pummel" dir="test/pummel" name="test-net-pingpong.js"/>
<apply-patch-file target="${test.dir}/pummel" dir="test/pummel" name="test-net-throttle.js"/>
<apply-patch-file target="${test.dir}/pummel" dir="test/pummel" name="test-process-uptime.js"/>

View File

@ -0,0 +1,11 @@
--- ../node/test/pummel/test-dh-regr.js 2013-09-23 13:54:04.000000000 +0200
+++ test/pummel/test-dh-regr.js 2013-11-19 15:03:32.000000000 +0100
@@ -24,7 +24,7 @@
var crypto = require('crypto');
-var p = crypto.createDiffieHellman(256).getPrime();
+var p = crypto.createDiffieHellman(512).getPrime();
for (var i = 0; i < 2000; i++) {
var a = crypto.createDiffieHellman(p),