Skip to content

Commit

Permalink
Fix confusing message on TLS certificate verification.
Browse files Browse the repository at this point in the history
Closes #2746. Thanks to Akos Vandra-Meyer.
  • Loading branch information
ralight committed Apr 1, 2023
1 parent 1195dd9 commit 1bf753e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog.txt
Expand Up @@ -15,6 +15,7 @@ Client library:

Clients:
- Fix incorrect topic-alias property value in mosquitto_sub json output.
- Fix confusing message on TLS certificate verification. Closes #2746.


2.0.15 - 2022-08-16
Expand Down
2 changes: 2 additions & 0 deletions lib/packet_mosq.c
Expand Up @@ -268,6 +268,8 @@ int packet__write(struct mosquitto *mosq)
return MOSQ_ERR_CONN_LOST;
case COMPAT_EINTR:
return MOSQ_ERR_SUCCESS;
case EPROTO:
return MOSQ_ERR_TLS;
default:
return MOSQ_ERR_ERRNO;
}
Expand Down

0 comments on commit 1bf753e

Please sign in to comment.