Skip to content
Snippets Groups Projects
Commit a318ac98 authored by oljas.jarasbaev's avatar oljas.jarasbaev
Browse files

Merge branch 'bugfix-13269' into bugfix-olzhas

parents 6f25e4da 31dffa86
2 merge requests!414Hotfixes 1007,!406Bugfix olzhas
Pipeline #45073 passed with stage
in 11 minutes and 6 seconds
......@@ -607,7 +607,11 @@ char *dap_cert_dump(dap_cert_t *a_cert)
const char *dap_cert_get_folder(int a_n_folder_path)
{
char **l_p = utarray_eltptr(s_cert_folders, (u_int)a_n_folder_path);
return *l_p;
if (!l_p) {
log_it(L_ERROR, "No default cert path check 'ca_folders' in cellframe-node.cfg");
return NULL;
} else
return *l_p;
}
......
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