libfetch: meh

This commit is contained in:
Franco Fichtner 2025-08-27 14:04:57 +02:00
parent a4baf30800
commit 5f9e5cd087

View file

@ -1172,7 +1172,7 @@ fetch_ssl_cb_verify_crt(int verified, X509_STORE_CTX *ctx)
* we do make the utmost effort to supply a proper list of CRLs that
* are required to verify the certificate(s) in question.
*/
if (!verified && X509_STORE_CTX_get_error(ctx) ==X509_V_ERR_UNABLE_TO_GET_CRL) {
if (!verified && X509_STORE_CTX_get_error(ctx) == X509_V_ERR_UNABLE_TO_GET_CRL) {
if (X509_STORE_CTX_get_error_depth(ctx) != 0) {
if ((crt = X509_STORE_CTX_get_current_cert(ctx)) != NULL &&
(name = X509_get_subject_name(crt)) != NULL)