espressif / esp-aws-iot

AWS IoT SDK for ESP32 based chipsets
Apache License 2.0
256 stars 153 forks source link

TLS Mutual Auth Example Fix (CA-285) #176

Open garyholiday opened 1 year ago

garyholiday commented 1 year ago

Fixed edge case where if TLS connection failed it would return as a successful connection to the MQTT broker.

CLAassistant commented 1 year ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

aselafernando commented 1 year ago

Shouldn't this be tlsStatus != TLS_TRANSPORT_SUCCESS, otherwise other failures could get through?