[Privoxy-commits] [privoxy] 02/15: OpenSSL ssl_store_cert(): Remove pointless variable initialization

User Git git at git.privoxy.org
Mon Mar 15 14:43:50 UTC 2021


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

git pushed a commit to branch master
in repository privoxy.

commit edc1399da05f66b601621cf19c31bbae509bc1ac
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Feb 14 20:32:51 2021 +0100

    OpenSSL ssl_store_cert(): Remove pointless variable initialization
---
 openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openssl.c b/openssl.c
index 73c568d2..67e58e99 100644
--- a/openssl.c
+++ b/openssl.c
@@ -268,7 +268,7 @@ extern int ssl_recv_data(struct ssl_attr *ssl_attr, unsigned char *buf, size_t m
  *********************************************************************/
 static int ssl_store_cert(struct client_state *csp, X509 *crt)
 {
-   long len = 0;
+   long len;
    struct certs_chain  *last = &(csp->server_certs_chain);
    int ret = 0;
    BIO *bio = BIO_new(BIO_s_mem());

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


More information about the Privoxy-commits mailing list