summaryrefslogtreecommitdiff
path: root/lib/libcrypto/bio
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-04-17 21:32:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-04-17 21:32:38 +0000
commit1d52fd31b115b1f96773297f0d189ae8cefecb49 (patch)
tree87d36fc5ade26fd13815c12609cc65310c784de3 /lib/libcrypto/bio
parent4238816d314ca1c00282dae135a7a4f8679b6e3c (diff)
kill REF_PRINT/REF_CHECK debugging framework noone would use
ok miod
Diffstat (limited to 'lib/libcrypto/bio')
-rw-r--r--lib/libcrypto/bio/bio_lib.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/libcrypto/bio/bio_lib.c b/lib/libcrypto/bio/bio_lib.c
index 485374931b0..47ab0c8a455 100644
--- a/lib/libcrypto/bio/bio_lib.c
+++ b/lib/libcrypto/bio/bio_lib.c
@@ -116,17 +116,8 @@ BIO_free(BIO *a)
return (0);
i = CRYPTO_add(&a->references, -1, CRYPTO_LOCK_BIO);
-#ifdef REF_PRINT
- REF_PRINT("BIO", a);
-#endif
if (i > 0)
return (1);
-#ifdef REF_CHECK
- if (i < 0) {
- fprintf(stderr, "BIO_free, bad reference count\n");
- abort();
- }
-#endif
if ((a->callback != NULL) &&
((i = (int)a->callback(a, BIO_CB_FREE, NULL, 0, 0L, 1L)) <= 0))
return (i);