Skip to content

Commit 501a2c8

Browse files
author
Mika Leppänen
committed
Added trace for mbed TLS errors
1 parent 9d7cd22 commit 501a2c8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
### Changes
99
* Nanostack now indicates connection down on RPL local repair start
10+
* Added trace for mbed TLS errors
1011

1112
### Bugfix
1213
* Prevent sending broadcast frames on unicast channel

source/Security/protocols/tls_sec_prot/tls_sec_prot_lib.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ int8_t tls_sec_prot_lib_process(tls_security_t *sec)
428428
#endif
429429

430430
if (ret && (ret != MBEDTLS_ERR_SSL_WANT_READ && ret != MBEDTLS_ERR_SSL_WANT_WRITE)) {
431+
tr_error("TLS error: %" PRId32, ret);
431432
return TLS_SEC_PROT_LIB_ERROR;
432433
}
433434

0 commit comments

Comments
 (0)