Skip to content

Commit

Permalink
Added trace for mbed TLS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Mika Leppänen committed Nov 25, 2020
1 parent 9d7cd22 commit 501a2c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

### Changes
* Nanostack now indicates connection down on RPL local repair start
* Added trace for mbed TLS errors

### Bugfix
* Prevent sending broadcast frames on unicast channel
Expand Down
1 change: 1 addition & 0 deletions source/Security/protocols/tls_sec_prot/tls_sec_prot_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ int8_t tls_sec_prot_lib_process(tls_security_t *sec)
#endif

if (ret && (ret != MBEDTLS_ERR_SSL_WANT_READ && ret != MBEDTLS_ERR_SSL_WANT_WRITE)) {
tr_error("TLS error: %" PRId32, ret);
return TLS_SEC_PROT_LIB_ERROR;
}

Expand Down

0 comments on commit 501a2c8

Please sign in to comment.