[Privoxy-commits] [privoxy] branch master updated: create_server_ssl_connection(): Add comment about optimization possibility

User Git git at git.privoxy.org
Wed Mar 30 11:52:06 UTC 2022


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

git pushed a commit to branch master
in repository privoxy.

The following commit(s) were added to refs/heads/master by this push:
     new 1547dac5 create_server_ssl_connection(): Add comment about optimization possibility
1547dac5 is described below

commit 1547dac5126fa35db78b737af31f3c2044173881
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Thu Aug 27 15:11:02 2020 +0200

    create_server_ssl_connection(): Add comment about optimization possibility
---
 openssl.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/openssl.c b/openssl.c
index a57cb32e..685995f7 100644
--- 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)
    {

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


More information about the Privoxy-commits mailing list