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/blake2/blake2b.c | 5 ----- crypto/blake2/blake2s.c | 5 ----- 2 files changed, 10 deletions(-) (limited to 'crypto/blake2') diff --git a/crypto/blake2/blake2b.c b/crypto/blake2/blake2b.c index 672210a751..8e92a0a8be 100644 --- a/crypto/blake2/blake2b.c +++ b/crypto/blake2/blake2b.c @@ -15,11 +15,6 @@ * can be found at https://blake2.net. */ -#ifndef BLAKE_DEBUG -# undef NDEBUG /* avoid conflicting definitions */ -# define NDEBUG -#endif - #include #include #include diff --git a/crypto/blake2/blake2s.c b/crypto/blake2/blake2s.c index 03295c08b6..227fa10edc 100644 --- a/crypto/blake2/blake2s.c +++ b/crypto/blake2/blake2s.c @@ -15,11 +15,6 @@ * can be found at https://blake2.net. */ -#ifndef BLAKE_DEBUG -# undef NDEBUG /* avoid conflicting definitions */ -# define NDEBUG -#endif - #include #include #include -- cgit v1.2.3