mirror of
https://github.com/openssl/openssl.git
synced 2025-01-26 20:03:32 +08:00
Fix compilation with -DREF_PRINT
CLA: trivial Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/8016)
This commit is contained in:
parent
7835e97b6f
commit
e26f653def
@ -111,7 +111,7 @@ int DSO_up_ref(DSO *dso)
|
||||
if (CRYPTO_UP_REF(&dso->references, &i, dso->lock) <= 0)
|
||||
return 0;
|
||||
|
||||
REF_PRINT_COUNT("DSO", r);
|
||||
REF_PRINT_COUNT("DSO", dso);
|
||||
REF_ASSERT_ISNT(i < 2);
|
||||
return ((i > 1) ? 1 : 0);
|
||||
}
|
||||
|
@ -1432,7 +1432,7 @@ void EC_nistz256_pre_comp_free(NISTZ256_PRE_COMP *pre)
|
||||
return;
|
||||
|
||||
CRYPTO_DOWN_REF(&pre->references, &i, pre->lock);
|
||||
REF_PRINT_COUNT("EC_nistz256", x);
|
||||
REF_PRINT_COUNT("EC_nistz256", pre);
|
||||
if (i > 0)
|
||||
return;
|
||||
REF_ASSERT_ISNT(i < 0);
|
||||
|
@ -237,7 +237,7 @@ int X509_STORE_up_ref(X509_STORE *vfy)
|
||||
if (CRYPTO_UP_REF(&vfy->references, &i, vfy->lock) <= 0)
|
||||
return 0;
|
||||
|
||||
REF_PRINT_COUNT("X509_STORE", a);
|
||||
REF_PRINT_COUNT("X509_STORE", vfy);
|
||||
REF_ASSERT_ISNT(i < 2);
|
||||
return ((i > 1) ? 1 : 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user