Skip to content
Snippets Groups Projects
Commit 93266093 authored by Roman Khlopkov's avatar Roman Khlopkov 🔜
Browse files

Merge branch 'hotfix-5139' into develop

parents 89b47642 cec102d4
No related branches found
No related tags found
1 merge request!419Feature 5220
Pipeline #9572 passed with stage
in 3 seconds
......@@ -172,7 +172,7 @@ dilithium_signature_t* dap_enc_dilithium_read_signature(uint8_t *a_buf, size_t a
}
l_shift_mem = sizeof(uint32_t);
}
memcpy(&kind, a_buf + sizeof(uint32_t), sizeof(uint32_t));
memcpy(&kind, a_buf + l_shift_mem, sizeof(uint32_t));
l_shift_mem += sizeof(uint32_t);
dilithium_param_t p;
if(!dilithium_params_init(&p, kind))
......
......@@ -124,7 +124,7 @@ static void s_callback_atom_iter_delete(dap_chain_atom_iter_t * a_atom_iter );
static size_t s_callback_add_datums(dap_chain_t * a_chain, dap_chain_datum_t ** a_datums, size_t a_datums_size);
bool s_seed_mode=false;
static bool s_seed_mode=false;
/**
......
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