chriskohlhoff / asio

Asio C++ Library
http://think-async.com/Asio
4.97k stars 1.22k forks source link

TLS 1.3 on WolfSSL would not work by default. Fix #1515

Open debugmenot opened 3 months ago

debugmenot commented 3 months ago

Hi. context.ipp should be fixed to allow case context::tlsv13

when defined(ASIO_USE_WOLFSSL)

by default wolfssl with openssl compatibility layer defines OPENSSL_VERSION_NUMBER < 0x10101000L for compatibility with other packages such as Apache HTTPD

debugmenot commented 3 months ago

ref: https://github.com/wolfSSL/wolfssl/blob/master/wolfssl/openssl/opensslv.h @dgarske

dgarske commented 3 months ago

Hi @debugmenot , I've opened a wolfSSL bug report here https://github.com/wolfSSL/wolfssl/issues/7810. I believe we made a recent openssl version compatibility change.