提交 b6fee5c2 编写于 作者: B Bodo Möller

disable weird assert()s

上级 10fa0476
...@@ -49,7 +49,13 @@ ...@@ -49,7 +49,13 @@
* *
*/ */
#ifndef AES_DEBUG
# ifndef NDEBUG
# define NDEBUG
# endif
#endif
#include <assert.h> #include <assert.h>
#include <openssl/aes.h> #include <openssl/aes.h>
#include "aes_locl.h" #include "aes_locl.h"
......
...@@ -105,7 +105,13 @@ ...@@ -105,7 +105,13 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#ifndef AES_DEBUG
# ifndef NDEBUG
# define NDEBUG
# endif
#endif
#include <assert.h> #include <assert.h>
#include <openssl/aes.h> #include <openssl/aes.h>
#include "aes_locl.h" #include "aes_locl.h"
......
...@@ -28,7 +28,13 @@ ...@@ -28,7 +28,13 @@
/* Note: rewritten a little bit to provide error control and an OpenSSL- /* Note: rewritten a little bit to provide error control and an OpenSSL-
compatible API */ compatible API */
#ifndef AES_DEBUG
# ifndef NDEBUG
# define NDEBUG
# endif
#endif
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <openssl/aes.h> #include <openssl/aes.h>
#include "aes_locl.h" #include "aes_locl.h"
......
...@@ -49,7 +49,13 @@ ...@@ -49,7 +49,13 @@
* *
*/ */
#ifndef AES_DEBUG
# ifndef NDEBUG
# define NDEBUG
# endif
#endif
#include <assert.h> #include <assert.h>
#include <openssl/aes.h> #include <openssl/aes.h>
#include "aes_locl.h" #include "aes_locl.h"
......
...@@ -49,7 +49,13 @@ ...@@ -49,7 +49,13 @@
* *
*/ */
#ifndef AES_DEBUG
# ifndef NDEBUG
# define NDEBUG
# endif
#endif
#include <assert.h> #include <assert.h>
#include <openssl/aes.h> #include <openssl/aes.h>
#include "aes_locl.h" #include "aes_locl.h"
......
...@@ -105,7 +105,13 @@ ...@@ -105,7 +105,13 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#ifndef AES_DEBUG
# ifndef NDEBUG
# define NDEBUG
# endif
#endif
#include <assert.h> #include <assert.h>
#include <openssl/aes.h> #include <openssl/aes.h>
#include "aes_locl.h" #include "aes_locl.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册