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

[*] Fixed bug with priv_data->priv_data_size mix

parent febf1342
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ uint8_t* dap_chain_cert_mem_save(dap_chain_cert_t * a_cert, uint32_t *a_cert_siz
dap_enc_key_t * l_key = a_cert->enc_key;
uint8_t *l_data = NULL;
size_t l_priv_key_data_size = a_cert->enc_key->priv_key_data,
size_t l_priv_key_data_size = a_cert->enc_key->priv_key_data_size,
l_pub_key_data_size = a_cert->enc_key->pub_key_data_size;
uint8_t *l_pub_key_data = a_cert->enc_key->pub_key_data_size ?
dap_enc_key_serealize_pub_key(l_key, &l_pub_key_data_size) :
......
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