From 85b407db292c3d52032ab5213d088a127b13f94b Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 26 Aug 2020 15:49:56 +0200 Subject: [PATCH] Don't claim that ssl_store_cert() is a callback Sponsored by: Robert Klemme --- openssl.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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 * -- 2.39.2