summaryrefslogtreecommitdiff
path: root/e_os.h
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2017-08-22 07:17:35 +1000
committerPauli <paul.dale@oracle.com>2017-08-30 07:20:44 +1000
commitcd420b0b1f2336972e386eba1cccf23b47d99538 (patch)
treec0a84e8c051b48242dc532541e5b8745a0e9d77d /e_os.h
parent677963e5a428739062ab5d46d5baed5eadd0195d (diff)
downloadopenssl-new-cd420b0b1f2336972e386eba1cccf23b47d99538.tar.gz
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.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/e_os.h b/e_os.h
index 2310e32c84..14089f5655 100644
--- a/e_os.h
+++ b/e_os.h
@@ -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