luvit / lit

Toolkit for developing, sharing, and running luvit/lua programs and libraries.
http://lit.luvit.io/
Apache License 2.0
245 stars 58 forks source link

Fix secure-socket for OpenSSL 1.1.0 #272

Closed truemedian closed 4 years ago

truemedian commented 4 years ago

The fix in #257 makes DEFAULT_SECUREPROTOCOL TLS on OpenSSL 1.1.0, which does not support it (it correctly does this for OpenSSL < 1.1.0 and OpenSSL > 1.1.0). This specific OpenSSL version does not accept TLS and should instead use SSLv23 like previous versions.

This issue keeps coming up with people using Luvi 2.9.1 (the affected luvi).

squeek502 commented 4 years ago

Thanks for the fix!