Skip to content
Snippets Groups Projects
Commit 72bf9702 authored by dmitriy.gerasimov's avatar dmitriy.gerasimov
Browse files

[*] fixes signess error

parent 844c131c
No related branches found
No related tags found
No related merge requests found
...@@ -348,7 +348,7 @@ int dap_chain_cert_compare_with_sign (dap_chain_cert_t * a_cert,dap_chain_sign_t ...@@ -348,7 +348,7 @@ int dap_chain_cert_compare_with_sign (dap_chain_cert_t * a_cert,dap_chain_sign_t
*/ */
size_t dap_chain_cert_count_cert_sign(dap_chain_cert_t * a_cert) size_t dap_chain_cert_count_cert_sign(dap_chain_cert_t * a_cert)
{ {
int ret; size_t ret;
dap_chain_sign_item_t * l_cert_item = NULL; dap_chain_sign_item_t * l_cert_item = NULL;
DL_COUNT( PVT(a_cert)->signs,l_cert_item,ret); DL_COUNT( PVT(a_cert)->signs,l_cert_item,ret);
return ret > 0 ? ret : 0 ; return ret > 0 ? ret : 0 ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment