Closed
Description
@Jeroen88 has been using BearSSL and adding some PRs and discovered a few issues that he's sent in email that I want to make sure get tracked here as I'm still kind of swamped. @Jeroen88, please add to this if I missed something:
- The set{insecure,fingerprint,etc.} methods should clear any other authentication methods. Presently, if you setFingerprint then setInsecure, for example, it will have both flags set and actually check the FP and not be insecure as the last call requested.
- Shouldn't _sc be tested for nullptr before &_sc->eng in WiFiClientSecure::_connectSSL(const char* hostName)
- _waitForHandshake() can cause a hang if the server times out, and needs a WDT feed call in the while() loop somewhere