asio
asio copied to clipboard
TLS 1.3 on WolfSSL would not work by default. Fix
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
ref: https://github.com/wolfSSL/wolfssl/blob/master/wolfssl/openssl/opensslv.h @dgarske
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.
Hi! I've run into this issue recently. Is there a workaround, for example, setting OPENSSL_VERSION_NUMBER to some other value that is compatible with ASIO?
@kareem-wolfssl will you please review and assist?
Hi @sokolas and @debugmenot ,
It looks like this issue was fixed upstream here: https://github.com/chriskohlhoff/asio/commit/0a265b1cd06fa73c60cc7bb68748ca9cda4fd8de
Can you confirm if this commit fixes the issue for you?
I am also looking into setting a higher OPENSSL_VERSION_NUMBER for asio.
Hi! Thank you for your answer! I'm sorry for the confusion, my error was actually caused by sslv2, which was not turned off by default.