[Privoxy-commits] [privoxy] 01/03: wolfSSL: Use WOLFSSL_X509_V_OK instead of X509_V_OK

User Git git at git.privoxy.org
Sun Mar 31 13:37:28 CEST 2024


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit d34fee8964a03d51d573ef494270c0f2ce33e818
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Mar 31 12:54:25 2024 +0200

    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.
---
 wolfssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list