← Commit list

6fbb65126d

Viktor Szakats
Viktor Szakats
2026-06-30
SUCCESS Duration: 182s

Subject

openssl: replace stray legacy API variant with `EVP_DigestInit_ex()`

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+1 -1
@@ -5451,7 +5451,7 @@ static CURLcode ossl_sha256sum(const unsigned char *input,
mdctx = EVP_MD_CTX_new();
if(!mdctx)
return CURLE_OUT_OF_MEMORY;
- if(!EVP_DigestInit(mdctx, EVP_sha256())) {
+ if(!EVP_DigestInit_ex(mdctx, EVP_sha256(), NULL)) {
result = CURLE_FAILED_INIT;
goto out;
}