Blame SOURCES/openssl-error-message.patch

a700bc
# OpenSSL changed error message for bad passwords in newer version.
a700bc
# Changing it back to match the OpenSSL version used in RHEL.
a700bc
a700bc
diff -up node-v8.11.4/test/parallel/test-tls-passphrase.js.orig node-v8.11.4/test/parallel/test-tls-passphrase.js
a700bc
--- node-v8.11.4/test/parallel/test-tls-passphrase.js.orig	2018-09-07 12:35:43.576779151 +0200
a700bc
+++ node-v8.11.4/test/parallel/test-tls-passphrase.js	2018-09-07 12:36:03.591781498 +0200
a700bc
@@ -221,7 +221,7 @@ server.listen(0, common.mustCall(functio
a700bc
   }, common.mustCall());
a700bc
 })).unref();
a700bc
a700bc
-const errMessagePassword = /bad decrypt/;
a700bc
+const errMessagePassword = /bad password read/;
a700bc
a700bc
 // Missing passphrase
a700bc
 assert.throws(function() {