aboutsummaryrefslogtreecommitdiff
path: root/crypto/blake2
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/blake2
parentc32cbe97873bf919dc4d1bc332e4758ee6caea78 (diff)
downloadopenssl-463a7b8cb0a449512448155a477f1460d8c951d9.zip
openssl-463a7b8cb0a449512448155a477f1460d8c951d9.tar.gz
openssl-463a7b8cb0a449512448155a477f1460d8c951d9.tar.bz2
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/blake2')
-rw-r--r--crypto/blake2/blake2b.c5
-rw-r--r--crypto/blake2/blake2s.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/crypto/blake2/blake2b.c b/crypto/blake2/blake2b.c
index 672210a..8e92a0a 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 <assert.h>
#include <string.h>
#include <openssl/crypto.h>
diff --git a/crypto/blake2/blake2s.c b/crypto/blake2/blake2s.c
index 03295c0..227fa10 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 <assert.h>
#include <string.h>
#include <openssl/crypto.h>