[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
Andy Polyakov
appro at openssl.org
Thu Feb 23 15:07:32 UTC 2017
The branch OpenSSL_1_0_2-stable has been updated
via 0b8c12f57a63b895b9192846f79ce73db0153c02 (commit)
from 56fbd5cff879a1d06e6b2023f43aebecc75fde2b (commit)
- Log -----------------------------------------------------------------
commit 0b8c12f57a63b895b9192846f79ce73db0153c02
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date: Wed Feb 22 21:40:41 2017 +0100
Add -Wundef to --strict-warnings options. Fix some warnings.
Reviewed-by: Andy Polyakov <appro at openssl.org>
Reviewed-by: Rich Salz <rsalz at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2714)
-----------------------------------------------------------------------
Summary of changes:
Configure | 2 +-
test/testutil.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Configure b/Configure
index da0230a..fd7988e 100755
--- a/Configure
+++ b/Configure
@@ -109,7 +109,7 @@ my $usage="Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [experimenta
# Minimum warning options... any contributions to OpenSSL should at least get
# past these.
-my $gcc_devteam_warn = "-Wall -pedantic -DPEDANTIC -Wno-long-long -Wsign-compare -Wmissing-prototypes -Wshadow -Wformat -Werror -DCRYPTO_MDEBUG_ALL -DCRYPTO_MDEBUG_ABORT -DREF_CHECK -DOPENSSL_NO_DEPRECATED";
+my $gcc_devteam_warn = "-Wall -pedantic -DPEDANTIC -Wno-long-long -Wsign-compare -Wmissing-prototypes -Wshadow -Wformat -Wundef -Werror -DCRYPTO_MDEBUG_ALL -DCRYPTO_MDEBUG_ABORT -DREF_CHECK -DOPENSSL_NO_DEPRECATED";
# TODO(openssl-team): fix problems and investigate if (at least) the following
# warnings can also be enabled:
diff --git a/test/testutil.h b/test/testutil.h
index 75f0c8a..e40b37e 100644
--- a/test/testutil.h
+++ b/test/testutil.h
@@ -103,7 +103,7 @@
* TEST_CASE_NAME is defined as the name of the test case function where
* possible; otherwise we get by with the file name and line number.
*/
-# if __STDC_VERSION__ < 199901L
+# if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L
# if defined(_MSC_VER)
# define TEST_CASE_NAME __FUNCTION__
# else
More information about the openssl-commits
mailing list