I've got an MQTT client connecting to a mosquitto server over TLS. I built firmware using nodemcu-build.com on 2017-01-04 and everything worked fine, using TLSv1.1. Now, with exactly the same modules selected, firmware built on 2017-03-19 causes SSL handshake errors upon connect.
With no TLS version forcing on the server, the old firmware connected with TLSv1.1. The new version attempts TLSv1.2. Forcing TLSv1.1 at the server with either firmwares doesn't help matters.
I've debugged using openssl s_server with old and new firmwares, with no code changes whatsoever between 2017-01-04 and 2017-03-19 firmwares.
Any suggestions? The TLS implementation on the nodemcu has clearly changed in recent times, given that it now attempts a TLSv1.2 connection. It seems this has broken something.
Thanks in advance,
tjhowse.