summaryrefslogtreecommitdiffstats
path: root/crypto/aes
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2016-04-06 12:47:35 +0200
committerAndy Polyakov <appro@openssl.org>2016-04-07 21:18:00 +0200
commit463a7b8cb0a449512448155a477f1460d8c951d9 (patch)
tree89baa5628a0eeee759ecad222b8bc0213275772e /crypto/aes
parentc32cbe97873bf919dc4d1bc332e4758ee6caea78 (diff)
Clean-up *_DEBUG options.
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 <levitte@openssl.org> Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'crypto/aes')
-rw-r--r--crypto/aes/aes_core.c5
-rw-r--r--crypto/aes/aes_ecb.c5
-rw-r--r--crypto/aes/aes_x86core.c5
3 files changed, 0 insertions, 15 deletions
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 <assert.h>
#include <stdlib.h>
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 <assert.h>
#include <openssl/aes.h>
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 <assert.h>
#include <stdlib.h>