Commit 118ac45e authored by Kishen Maloor's avatar Kishen Maloor

Refresh mbedTLS's list of CAs after cred removal

Signed-off-by: Kishen Maloor's avatarKishen Maloor <>
parent f54370ed
...@@ -795,6 +795,9 @@ oc_tls_remove_trust_anchor(oc_sec_cred_t *cred) ...@@ -795,6 +795,9 @@ oc_tls_remove_trust_anchor(oc_sec_cred_t *cred)
oc_list_remove(ca_certs, cert); oc_list_remove(ca_certs, cert);
oc_memb_free(&ca_certs_s, cert); oc_memb_free(&ca_certs_s, cert);
} }
} }
static int static int
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment