Use SSL_early_data_reason_string in EarlyDataReasonToString.
ssl_early_data_reason_t is an extensible enum. Maintaining a switch-case in
QUICHE means compile failures and general churn when BoringSSL adds new values,
switch to the newly-added SSL_early_data_reason_string function.
This is gated by a BORINGSSL_API_VERSION preprocessor check to smooth the
landing between downstream repositories. (QUICHE is incompatible with BoringSSL
HEAD due to the addition of ssl_early_data_reason_alps. This CL unblocks the
Once https://boringssl-review.googlesource.com/c/boringssl/+/43724 has rolled
into all downstream repositories, we can remove the preprocessor check.
1 file changed
QUICHE (QUIC, Http/2, Etc) is Google‘s implementation of QUIC and related protocols. It powers Chromium as well as Google’s QUIC servers and some other projects. QUICHE is only supported on little-endian platforms.