projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
358601f
)
create_server_ssl_connection(): Add comment about optimization possibility
author
Fabian Keil
<fk@fabiankeil.de>
Thu, 27 Aug 2020 13:11:02 +0000
(15:11 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Wed, 30 Mar 2022 11:52:55 +0000
(13:52 +0200)
openssl.c
patch
|
blob
|
history
diff --git
a/openssl.c
b/openssl.c
index
a57cb32
..
685995f
100644
(file)
--- a/
openssl.c
+++ b/
openssl.c
@@
-1155,6
+1155,11
@@
extern int create_server_ssl_connection(struct client_state *csp)
goto exit;
}
+ /*
+ * XXX: Do we really have to do this always?
+ * Probably it's sufficient to do if the verification fails
+ * in which case we're sending the certificates to the client.
+ */
chain = SSL_get_peer_cert_chain(ssl);
if (chain)
{