Skip to content
Snippets Groups Projects
Commit c222ebb1 authored by dmitriy.gerasimov's avatar dmitriy.gerasimov
Browse files
parents 45c83dbe 5fd18779
No related branches found
No related tags found
1 merge request!24Support 3689
...@@ -94,7 +94,7 @@ size_t dap_chain_cert_parse_str_list(const char * a_certs_str, dap_chain_cert_t ...@@ -94,7 +94,7 @@ size_t dap_chain_cert_parse_str_list(const char * a_certs_str, dap_chain_cert_t
} }
// init certs array // init certs array
dap_chain_cert_t **l_certs; dap_chain_cert_t **l_certs;
*a_certs = l_certs = DAP_NEW_Z_SIZE(dap_chain_cert_t*, (*a_certs_size) ); *a_certs = l_certs = DAP_NEW_Z_SIZE(dap_chain_cert_t*, (*a_certs_size) * sizeof(dap_chain_cert_t*) );
// Second pass we parse them all // Second pass we parse them all
strcpy(l_certs_str_dup, a_certs_str); strcpy(l_certs_str_dup, a_certs_str);
......
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