Skip to content
Browse files

test: fix regression when compiled with FIPS

In commit bff53c5, a check was added for very specific OpenSSL
format. Unfortunately, when OpenSSL is compiled in FIPS mode, this
check fails. Added additional regex to satisfy OpenSSL version
strings in both regular and FIPS modes.

PR-URL: #23871
Reviewed-By: Anna Henningsen <>
Reviewed-By: Colin Ihrig <>
Reviewed-By: James M Snell <>
Reviewed-By: Tobias Nießen <>
Reviewed-By: Refael Ackermann <>
Reviewed-By: Richard Lau <>
Reviewed-By: Michael Dawson <>
Reviewed-By: Sam Roberts <>
Reviewed-By: Luigi Pinca <>
  • Loading branch information...
AdamMajer authored and rvagg committed Oct 25, 2018
1 parent 0d4de59 commit b1e6de80c1b9c1fdf69cfc3af8701e53c9fe785c
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/parallel/test-process-versions.js
@@ -34,7 +34,7 @@ assert(/^\d+\.\d+\.\d+(?:\.\d+)?(?: \(candidate\))?$/

if (common.hasCrypto) {

for (let i = 0; i < expected_keys.length; i++) {

0 comments on commit b1e6de8

Please sign in to comment.
You can’t perform that action at this time.