From 463a7b8cb0a449512448155a477f1460d8c951d9 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Wed, 6 Apr 2016 12:47:35 +0200 Subject: Clean-up *_DEBUG options. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since NDEBUG is defined unconditionally on command line for release builds, we can omit *_DEBUG options in favour of effective "all-on" in debug builds exercised though CI. Reviewed-by: Richard Levitte Reviewed-by: Emilia Käsper --- crypto/aes/aes_core.c | 5 ----- crypto/aes/aes_ecb.c | 5 ----- crypto/aes/aes_x86core.c | 5 ----- 3 files changed, 15 deletions(-) (limited to 'crypto/aes') diff --git a/crypto/aes/aes_core.c b/crypto/aes/aes_core.c index 326cc569ca..837d4feb9f 100644 --- a/crypto/aes/aes_core.c +++ b/crypto/aes/aes_core.c @@ -27,11 +27,6 @@ /* Note: rewritten a little bit to provide error control and an OpenSSL- compatible API */ -#ifndef AES_DEBUG -# ifndef NDEBUG -# define NDEBUG -# endif -#endif #include #include diff --git a/crypto/aes/aes_ecb.c b/crypto/aes/aes_ecb.c index 61cb0e7358..6639c783c4 100644 --- a/crypto/aes/aes_ecb.c +++ b/crypto/aes/aes_ecb.c @@ -48,11 +48,6 @@ * */ -#ifndef AES_DEBUG -# ifndef NDEBUG -# define NDEBUG -# endif -#endif #include #include diff --git a/crypto/aes/aes_x86core.c b/crypto/aes/aes_x86core.c index 400884aff5..1b64f5b65b 100644 --- a/crypto/aes/aes_x86core.c +++ b/crypto/aes/aes_x86core.c @@ -34,11 +34,6 @@ */ -#ifndef AES_DEBUG -# ifndef NDEBUG -# define NDEBUG -# endif -#endif #include #include -- cgit v1.2.3