projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35e5250
)
wolfSSL: Use WOLFSSL_X509_V_OK instead of X509_V_OK
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 31 Mar 2024 10:54:25 +0000
(12:54 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 31 Mar 2024 11:24:43 +0000
(13:24 +0200)
They have the same value but X509_V_OK may need
an additional header.
Reported by withoutname in #1765.
wolfssl.c
patch
|
blob
|
history
diff --git
a/wolfssl.c
b/wolfssl.c
index
bdbf8e9
..
04108e8
100644
(file)
--- 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;