diff options
author | Richard Levitte <levitte@openssl.org> | 2002-11-13 18:10:30 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-11-13 18:10:30 +0000 |
commit | 17ed6c06a780487b3a513abb8da20e428d660137 (patch) | |
tree | 9cb815ecca110574d8c394ac70b7aa354bdafaaf /crypto/crypto.h | |
parent | c112323dd5d107b199a6d951f8be4c882ff0fba1 (diff) | |
download | openssl-new-17ed6c06a780487b3a513abb8da20e428d660137.tar.gz |
Merge from 0.9.7-stable.
Diffstat (limited to 'crypto/crypto.h')
-rw-r--r-- | crypto/crypto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h index d6cb6f3cd5..2a4dbd5975 100644 --- a/crypto/crypto.h +++ b/crypto/crypto.h @@ -491,6 +491,10 @@ void CRYPTO_mem_leaks(struct bio_st *bio); typedef void *CRYPTO_MEM_LEAK_CB(unsigned long, const char *, int, int, void *); void CRYPTO_mem_leaks_cb(CRYPTO_MEM_LEAK_CB *cb); +/* die if we have to */ +void OpenSSLDie(const char *file,int line,const char *assertion); +#define OPENSSL_assert(e) ((e) ? (void)0 : OpenSSLDie(__FILE__, __LINE__, #e)) + /* BEGIN ERROR CODES */ /* The following lines are auto generated by the script mkerr.pl. Any changes * made after this point may be overwritten when the script is next run. |