summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2002-11-13 14:01:34 +0000
committerBodo Möller <bodo@openssl.org>2002-11-13 14:01:34 +0000
commitb6fee5c2fb68918ff64cba8b7a1ff24e9d922093 (patch)
tree09b59b96931d1ca94e628bfa81890a081daec537 /crypto
parent10fa0476224ed90bcfab94d67debfc4f20e78c74 (diff)
disable weird assert()s
Diffstat (limited to 'crypto')
-rw-r--r--crypto/aes/aes_cbc.c6
-rw-r--r--crypto/aes/aes_cfb.c6
-rw-r--r--crypto/aes/aes_core.c6
-rw-r--r--crypto/aes/aes_ctr.c6
-rw-r--r--crypto/aes/aes_ecb.c6
-rw-r--r--crypto/aes/aes_ofb.c6
6 files changed, 36 insertions, 0 deletions
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 <assert.h>
+
#include <openssl/aes.h>
#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 <assert.h>
+
#include <openssl/aes.h>
#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 <assert.h>
+
#include <stdlib.h>
#include <openssl/aes.h>
#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 <assert.h>
+
#include <openssl/aes.h>
#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 <assert.h>
+
#include <openssl/aes.h>
#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 <assert.h>
+
#include <openssl/aes.h>
#include "aes_locl.h"