aws / aws-iot-device-sdk-embedded-C

SDK for connecting to AWS IoT from a device using embedded C.
MIT License
975 stars 623 forks source link

platform,posix,mbedtls: Fix typo in code #1861

Closed szsam closed 1 year ago

szsam commented 1 year ago

Description of changes: Change logic AND to logic OR.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

kstribrnAmzn commented 1 year ago

Would you also mind changing lines 866 and 873?

I agree this is a bu. I'm curious how you stumbled across this - was there some sort of test your ran or was this something that came up during your development? I'm hoping we can duplicate your method of discovery to add some sort of check/test to the repo.