]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/asn1/tasn_utl.c
Rework and make DEBUG macros consistent.
[thirdparty/openssl.git] / crypto / asn1 / tasn_utl.c
index 28a4b23aa48bb59d13cd09edbabd6e514e601828..e5f25d88df69f96e0c5a23385b017ebd07b4c284 100644 (file)
@@ -97,9 +97,7 @@ int ossl_asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it)
     case -1:
         if (!CRYPTO_DOWN_REF(lck, &ret, *lock))
             return -1;  /* failed */
-#ifdef REF_PRINT
-        fprintf(stderr, "%p:%4d:%s\n", (void*)it, ret, it->sname);
-#endif
+        REF_PRINT_EX(it->sname, ret, (void *)it);
         REF_ASSERT_ISNT(ret < 0);
         if (ret == 0) {
             CRYPTO_THREAD_lock_free(*lock);