mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-08-18 22:07:55 +08:00
Fix confusing message on TLS certificate verification.
Closes #2746. Thanks to Akos Vandra-Meyer.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user