diff options
author | Pauli <paul.dale@oracle.com> | 2017-08-22 07:17:35 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2017-08-30 07:20:44 +1000 |
commit | cd420b0b1f2336972e386eba1cccf23b47d99538 (patch) | |
tree | c0a84e8c051b48242dc532541e5b8745a0e9d77d /e_os.h | |
parent | 677963e5a428739062ab5d46d5baed5eadd0195d (diff) |
Move the REF_PRINT support from e_os.h to internal/refcount.h.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4188)
Diffstat (limited to 'e_os.h')
-rw-r--r-- | e_os.h | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -25,13 +25,6 @@ extern "C" { #endif -/* Used to checking reference counts, most while doing perl5 stuff :-) */ -# if defined(OPENSSL_NO_STDIO) -# if defined(REF_PRINT) -# error "REF_PRINT requires stdio" -# endif -# endif - /* * Format specifier for printing size_t. Original conundrum was to * get it working with -Wformat [-Werror], which can be considered @@ -59,19 +52,6 @@ extern "C" { * stand for in ILP32 and LP64 */ # endif -# if !defined(NDEBUG) && !defined(OPENSSL_NO_STDIO) -# define REF_ASSERT_ISNT(test) \ - (void)((test) ? (OPENSSL_die("refcount error", __FILE__, __LINE__), 1) : 0) -# else -# define REF_ASSERT_ISNT(i) -# endif -# ifdef REF_PRINT -# define REF_PRINT_COUNT(a, b) \ - fprintf(stderr, "%p:%4d:%s\n", b, b->references, a) -# else -# define REF_PRINT_COUNT(a, b) -# endif - # define OPENSSL_CONF "openssl.cnf" # ifndef DEVRANDOM |