From 7789c0dc8645933e2e68c7df1a7d2632cae58c1f Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 25 Jun 2020 15:41:08 +0200 Subject: [PATCH] SSL configure test: Fix confusing warning Remove quote character, fixing: Performing C++ SOURCE FILE Test HAVE_openssl_headers succeeded with the following output: Run Build Command(s) src.cxx 8 88: warning: missing terminating ' character 8 | # error OpenSSL was reported as >= 1.1.1 but is missing required features, possibly it's libressl which is unsupported which makes one think the test failed. Change-Id: I0ac02deee4282ef7c953186b820a31309e82b5e1 Reviewed-by: Alexandru Croitor Reviewed-by: Timur Pocheptsov --- src/network/configure.cmake | 4 ++-- src/network/configure.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/network/configure.cmake b/src/network/configure.cmake index 1bfa9786122..fcdf46f9554 100644 --- a/src/network/configure.cmake +++ b/src/network/configure.cmake @@ -20,7 +20,7 @@ qt_config_compile_test(openssl_headers # error OpenSSL >= 1.1.1 is required #endif #if !defined(OPENSSL_NO_EC) && !defined(SSL_CTRL_SET_CURVES) -# error OpenSSL was reported as >= 1.1.1 but is missing required features, possibly it's libressl which is unsupported +# error OpenSSL was reported as >= 1.1.1 but is missing required features, possibly it is libressl which is unsupported #endif int main(int argc, char **argv) { @@ -45,7 +45,7 @@ qt_config_compile_test(openssl # error OpenSSL >= 1.1.1 is required #endif #if !defined(OPENSSL_NO_EC) && !defined(SSL_CTRL_SET_CURVES) -# error OpenSSL was reported as >= 1.1.1 but is missing required features, possibly it's libressl which is unsupported +# error OpenSSL was reported as >= 1.1.1 but is missing required features, possibly it is libressl which is unsupported #endif int main(int argc, char **argv) { diff --git a/src/network/configure.json b/src/network/configure.json index 5f26f83c542..6425103a33a 100644 --- a/src/network/configure.json +++ b/src/network/configure.json @@ -65,7 +65,7 @@ "# error OpenSSL >= 1.1.1 is required", "#endif", "#if !defined(OPENSSL_NO_EC) && !defined(SSL_CTRL_SET_CURVES)", - "# error OpenSSL was reported as >= 1.1.1 but is missing required features, possibly it's libressl which is unsupported", + "# error OpenSSL was reported as >= 1.1.1 but is missing required features, possibly it is libressl which is unsupported", "#endif" ] },