From c8cd1755f737d8cc76a5b5681dc30e248a7cda8e Mon Sep 17 00:00:00 2001 From: bneradt Date: Mon, 22 Feb 2021 23:23:25 +0000 Subject: [PATCH] Fix ja3_fingerprint configure syntax A call to "test" was missed in the ja3_fingerprint logic. Before the patch in this commit, this would result in the following output: checking for JA3 compatible OpenSSL version... yes ./configure: line 25014: -z: command not found --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7462d12691c..ca784a6bc4f 100644 --- a/configure.ac +++ b/configure.ac @@ -1363,7 +1363,7 @@ AC_EGREP_CPP(yes, [ #endif ], [ AC_MSG_RESULT(yes) - AS_IF([test "x${enable_experimental_plugins}" = "xyes" && -z "$openssl_is_boringssl"], [ + AS_IF([test "x${enable_experimental_plugins}" = "xyes" && test -z "$openssl_is_boringssl"], [ enable_ja3_plugin=yes ]) ], [AC_MSG_RESULT(no)])