Contact Details
[email protected]
Version
wolfssl 8.5.4
Description
The homebrew delivered wolfSSL 8.5.4 fails when TLS_CHACHA20_POLY1305_SHA256 is being selected as cipher during the handshake on an ARM system. We see this in curl CI on macOS ARM jobs. The logged error is
SSL_connect failed with error -311: unknown type in record hdr
(Example: https://github.com/curl/curl/actions/runs/19582773452/job/56084526466)
AFAICT, the homebrew wolfssl formula has not really changed. One notable configure addition it does is --disable-armasm (see https://github.com/Homebrew/homebrew-core/blob/master/Formula/w/wolfssl.rb).
Building wolfssl 8.5.4 on my macOS Intel machine works fine. That is why I guess the ARM cipher handling somehow allows sending CHACHA20 in the ClientHello, but fails when parsing the ServerHello.
Reproduction steps
No response
Relevant log output