blob: 46cc836241c70392aabb1208b327d22a51dac314 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <unistd.h>
#include <openssl/opensslconf.h>
static inline void
OpenSSLDie(const char *file, int line, const char *assertion)
{
_exit(1);
}
/* die if we have to */
void OpenSSLDie(const char *file, int line, const char *assertion);
#define OPENSSL_assert(e) (void)((e) ? 0 : (OpenSSLDie(__FILE__, __LINE__, #e),1))
|