← Commit list

6163566461

Viktor Szakats
Viktor Szakats
2026-06-26
SUCCESS Duration: 192s

Subject

openssl: drop unused pre-OpenSSL3 `ctx_option_t` typedef

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/vtls/openssl.c+4 -6
@@ -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,