File fix_ci_ssl_tests.patch of Package nodejs4.7018

Author: Adam Majer <amajer@suse.de>
Date: Dec 20 09:18:49 UTC 2017
Summary: Fix CI unit tests framework for OBS building

When using OpenSUSE supplied openssl, some tests act differently.

Index: node-v4.8.7/test/parallel/test-crypto-dh.js
===================================================================
--- node-v4.8.7.orig/test/parallel/test-crypto-dh.js
+++ node-v4.8.7/test/parallel/test-crypto-dh.js
@@ -161,7 +161,7 @@ assert.equal(secret1, secret2.toString('
 
 // Oakley curves do not clean up ERR stack, it was causing unexpected failure
 // when accessing other OpenSSL APIs afterwards.
-crypto.createECDH('Oakley-EC2N-3');
+// crypto.createECDH('Oakley-EC2N-3');
 crypto.createHash('sha256');
 
 // Point formats
openSUSE Build Service is sponsored by