openssl: drop unused pre-OpenSSL3 ctx_option_t typedef

Follow-up to 69c89bf3d3 #18330

Closes #22197
This commit is contained in:
Viktor Szakats 2026-06-26 20:20:01 +02:00
parent b8fa725df3
commit 6163566461
No known key found for this signature in database

View file

@ -2630,14 +2630,12 @@ static CURLcode ossl_set_ssl_version_min_max(struct Curl_cfilter *cf,
return CURLE_OK;
}
#ifdef HAVE_BORINGSSL_LIKE
typedef uint32_t ctx_option_t;
#elif defined(HAVE_OPENSSL3)
typedef uint64_t ctx_option_t;
#elif defined(LIBRESSL_VERSION_NUMBER)
#ifdef LIBRESSL_VERSION_NUMBER
typedef long ctx_option_t;
#elif defined(HAVE_BORINGSSL_LIKE)
typedef uint32_t ctx_option_t;
#else
typedef unsigned long ctx_option_t;
typedef uint64_t ctx_option_t;
#endif
CURLcode Curl_ossl_add_session(struct Curl_cfilter *cf,