From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 26 Aug 2020 13:49:56 +0000 (+0200)
Subject: Don't claim that ssl_store_cert() is a callback
X-Git-Tag: v_3_0_29~201
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/@default-cgi@/user-manual/faq/static/gitweb.js?a=commitdiff_plain;h=85b407db292c3d52032ab5213d088a127b13f94b;p=privoxy.git

Don't claim that ssl_store_cert() is a callback

Sponsored by: Robert Klemme
---

diff --git a/openssl.c b/openssl.c
index 723820bf..e9740c01 100644
--- a/openssl.c
+++ b/openssl.c
@@ -236,15 +236,14 @@ extern int ssl_recv_data(struct ssl_attr *ssl_attr, unsigned char *buf, size_t m
  *
  * Function    :  ssl_store_cert
  *
- * Description :  This is a callback function for certificate verification.
- *                It's called once for each certificate in the server's
- *                certificate trusted chain and prepares information about
- *                the certificate. The information can be used to inform
- *                the user about invalid certificates.
+ * Description : This function is called once for each certificate in the
+ *               server's certificate trusted chain and prepares
+ *               information about the certificate. The information can
+ *               be used to inform the user about invalid certificates.
  *
  * Parameters  :
  *          1  :  csp = Current client state (buffers, headers, etc...)
- *          2  :  crt   = certificate from trusted chain
+ *          2  :  crt = certificate from trusted chain
  *
  * Returns     :  0 on success and negative value on error
  *