curl/lib/vquic
Viktor Szakats 80c10c5d5d
openssl: remove legacy cruft, document macro guards
- assume:
  - `BIO_CTRL_EOF`
  - `SSL_CTRL_SET_MSG_CALLBACK`
  - `SSL_CTRL_SET_MSG_CALLBACK`
  - `SSL_CTRL_SET_TLSEXT_HOSTNAME`
  - `SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER`
  - `SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS`
  - `SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG`
  - `SSL_OP_NO_COMPRESSION`
  - `SSL_OP_NO_TICKET`
  - `X509_V_FLAG_PARTIAL_CHAIN`
  - `X509_V_FLAG_TRUSTED_FIRST`
  They are present in all supported OpenSSL (and fork) versions.

- replace `SSL_ERROR_WANT_EARLY` with `SSL_ERROR_WANT_CLIENT_HELLO_CB`.
  The former appeared in OpenSSL 1.1.1-dev, but renamed before
  the stable release.

- document support for macros:
  - `ENGINE_CTRL_GET_CMD_FROM_NAME`
  - `SSL_ERROR_WANT_ASYNC_JOB`
  - `SSL_ERROR_WANT_ASYNC`
  - `SSL2_VERSION_MAJOR`
  - `TLS1_3_VERSION`

- drop legacy fallback for `CONF_MFLAGS_DEFAULT_SECTION`.
  It was there for OpenSSL 0.9.8 support.

- fix `SSL_CTRL_SET_MSG_CALLBACK` accidentally serving as a guard for
  OpenSSL (and forks) as a whole.

Tested OK with OpenSSL 1.0.2 and 1.1.0 in CI.

Closes #18351
2025-08-22 15:53:45 +02:00
..
.checksrc checksrc: reduce exceptions, apply again to curlx 2025-06-27 17:33:35 +02:00
curl_ngtcp2.c ngtcp2: use custom mem funcs 2025-08-18 13:25:52 +02:00
curl_ngtcp2.h build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
curl_osslq.c openssl: remove legacy cruft, document macro guards 2025-08-22 15:53:45 +02:00
curl_osslq.h build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
curl_quiche.c curl_quiche.c: add include 2025-08-07 09:54:09 +02:00
curl_quiche.h build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
vquic-tls.c vquic-tls: fix SSL backend type for QUIC connections using gnutls 2025-07-20 23:10:15 +02:00
vquic-tls.h http/3: report handshake with version and cipher as for TCP connections 2025-07-14 14:08:32 +02:00
vquic.c vquic: add header for native-QUIC OpenSSL, non-unity builds 2025-08-20 11:31:04 +02:00
vquic.h build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
vquic_int.h ngtcp2: use custom mem funcs 2025-08-18 13:25:52 +02:00