[Pkg-javascript-commits] [node-diffie-hellman] 03/07: Patch to not test dh with length 2

Jérémy Lal kapouer at moszumanska.debian.org
Sat Dec 30 10:50:17 UTC 2017


This is an automated email from the git hooks/post-receive script.

kapouer pushed a commit to branch master
in repository node-diffie-hellman.

commit c38b4b1abd40bfb6714cff9754bd5fa720ef5aae
Author: Jérémy Lal <kapouer at melix.org>
Date:   Sat Dec 30 11:45:56 2017 +0100

    Patch to not test dh with length 2
---
 debian/patches/test-openssl-stronger.patch | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/debian/patches/test-openssl-stronger.patch b/debian/patches/test-openssl-stronger.patch
new file mode 100644
index 0000000..b9819d3
--- /dev/null
+++ b/debian/patches/test-openssl-stronger.patch
@@ -0,0 +1,15 @@
+Description: openssl 1.1.0 does not accept to create dh with length 2 bits
+Author: Jérémy Lal <kapouer at melix.org>
+Last-Update: 2017-12-30
+Forwarded: https://github.com/crypto-browserify/diffie-hellman/pull/27
+--- a/test.js
++++ b/test.js
+@@ -19,7 +19,7 @@
+   return false;
+ }
+  var lens = [
+-  2, 8, 16, 17, 18, 20, 21, 22, 64, 65, 128, 384, 512, 1024,
++  8, 16, 17, 18, 20, 21, 22, 64, 65, 128, 384, 512, 1024,
+   192, 224, 256];
+    var lens2 = [
+   16, 17, 18, 20, 21, 22,64, 65, 128];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-diffie-hellman.git



More information about the Pkg-javascript-commits mailing list