WiFiClientSecure: use context by d-a-v · Pull Request #7680 · esp8266/Arduino (original) (raw)

Wow, you did a lot of work!

Generally seems fine, but the extra jump for every call just grates me the wrong way...I can't think of any way around it. Performance-wise, it should not be an issue since the SSL guts are very slow and this only adds 5-6 instructions per high-level call. @devyte may have some ideas here.