From: Fabian Keil Date: Sun, 31 Mar 2024 10:54:25 +0000 (+0200) Subject: wolfSSL: Use WOLFSSL_X509_V_OK instead of X509_V_OK X-Git-Url: http://www.privoxy.org/gitweb/whatsnew.html?p=privoxy.git;a=commitdiff_plain;h=d34fee8964a03d51d573ef494270c0f2ce33e818 wolfSSL: Use WOLFSSL_X509_V_OK instead of X509_V_OK They have the same value but X509_V_OK may need an additional header. Reported by withoutname in #1765. --- diff --git a/wolfssl.c b/wolfssl.c index bdbf8e9b..04108e83 100644 --- a/wolfssl.c +++ b/wolfssl.c @@ -1200,7 +1200,7 @@ extern int create_server_ssl_connection(struct client_state *csp) { long verify_result = wolfSSL_get_error(ssl, connect_ret); - if (verify_result == X509_V_OK) + if (verify_result == WOLFSSL_X509_V_OK) { ret = 0; csp->server_cert_verification_result = SSL_CERT_VALID;