Fix confusing message on TLS certificate verification.

Closes #2746. Thanks to Akos Vandra-Meyer.
This commit is contained in:
Roger A. Light
2023-04-01 17:52:12 +01:00
parent 1195dd991e
commit 1bf753e773
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -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;
}