diff --git a/.codespell-ignore-lines b/.codespell-ignore-lines index 75a07676eb4..4b6f55c666e 100644 --- a/.codespell-ignore-lines +++ b/.codespell-ignore-lines @@ -1,2 +1,6 @@ mynewt-nimble/nimble/host/services/ans/src/ble_svc_ans.c mynewt-nimble/nimble/host/services/ans/include +#include "crypto/controlse/ccertificate.hxx" + object = new Controlse::CCertificate( + Controlse::CCertificate cert(se, settings->key_id); + auto certificate = Controlse::CCertificate( diff --git a/crypto/controlse/controlse_main.cxx b/crypto/controlse/controlse_main.cxx index 8c0f07cbcb4..ba21b8ae36f 100644 --- a/crypto/controlse/controlse_main.cxx +++ b/crypto/controlse/controlse_main.cxx @@ -701,8 +701,12 @@ int main(int argc, FAR char *argv[]) #ifdef CONFIG_STACK_COLORATION FAR struct tcb_s *tcb; tcb = nxsched_get_tcb(getpid()); - fprintf(stderr, "\nStack used: %zu / %zu\n", up_check_tcbstack(tcb), - tcb->adj_stack_size); + if (tcb) + { + fprintf(stderr, "\nStack used: %zu / %zu\n", up_check_tcbstack(tcb), + tcb->adj_stack_size); + nxsched_put_tcb(tcb); + } #else fprintf(stderr, "\nStack used: unknown" " (STACK_COLORATION must be enabled)\n");