From b6fee5c2fb68918ff64cba8b7a1ff24e9d922093 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Wed, 13 Nov 2002 14:01:34 +0000 Subject: [PATCH] disable weird assert()s --- crypto/aes/aes_cbc.c | 6 ++++++ crypto/aes/aes_cfb.c | 6 ++++++ crypto/aes/aes_core.c | 6 ++++++ crypto/aes/aes_ctr.c | 6 ++++++ crypto/aes/aes_ecb.c | 6 ++++++ crypto/aes/aes_ofb.c | 6 ++++++ 6 files changed, 36 insertions(+) diff --git a/crypto/aes/aes_cbc.c b/crypto/aes/aes_cbc.c index bf1a808cf0..8974dc35a5 100644 --- a/crypto/aes/aes_cbc.c +++ b/crypto/aes/aes_cbc.c @@ -49,7 +49,13 @@ * */ +#ifndef AES_DEBUG +# ifndef NDEBUG +# define NDEBUG +# endif +#endif #include + #include #include "aes_locl.h" diff --git a/crypto/aes/aes_cfb.c b/crypto/aes/aes_cfb.c index 41c2a5ec3d..9b569dda90 100644 --- a/crypto/aes/aes_cfb.c +++ b/crypto/aes/aes_cfb.c @@ -105,7 +105,13 @@ * [including the GNU Public Licence.] */ +#ifndef AES_DEBUG +# ifndef NDEBUG +# define NDEBUG +# endif +#endif #include + #include #include "aes_locl.h" diff --git a/crypto/aes/aes_core.c b/crypto/aes/aes_core.c index 937988dd8c..ea884f6f9e 100644 --- a/crypto/aes/aes_core.c +++ b/crypto/aes/aes_core.c @@ -28,7 +28,13 @@ /* 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 #include #include "aes_locl.h" diff --git a/crypto/aes/aes_ctr.c b/crypto/aes/aes_ctr.c index 142ca4a142..59088499a0 100644 --- a/crypto/aes/aes_ctr.c +++ b/crypto/aes/aes_ctr.c @@ -49,7 +49,13 @@ * */ +#ifndef AES_DEBUG +# ifndef NDEBUG +# define NDEBUG +# endif +#endif #include + #include #include "aes_locl.h" diff --git a/crypto/aes/aes_ecb.c b/crypto/aes/aes_ecb.c index 1cb2e07d3d..28aa561c2d 100644 --- a/crypto/aes/aes_ecb.c +++ b/crypto/aes/aes_ecb.c @@ -49,7 +49,13 @@ * */ +#ifndef AES_DEBUG +# ifndef NDEBUG +# define NDEBUG +# endif +#endif #include + #include #include "aes_locl.h" diff --git a/crypto/aes/aes_ofb.c b/crypto/aes/aes_ofb.c index e33bdaea28..f358bb39e2 100644 --- a/crypto/aes/aes_ofb.c +++ b/crypto/aes/aes_ofb.c @@ -105,7 +105,13 @@ * [including the GNU Public Licence.] */ +#ifndef AES_DEBUG +# ifndef NDEBUG +# define NDEBUG +# endif +#endif #include + #include #include "aes_locl.h" -- 2.25.1