openssl: replace stray legacy API variant with `EVP_DigestInit_ex()`
No binary (build failed)
—
(log yok)
| @@ -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; | |
| } | |