From 2508d421a2560948a968482e0d9bba74df3fffce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Tue, 16 Jul 2019 14:41:50 +0200 Subject: Fix documented params for gnutls_certificate_retrieve_function3() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tim Rühsen --- lib/cert-cred.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lib/cert-cred.c b/lib/cert-cred.c index c34d241fc1..7311737298 100644 --- a/lib/cert-cred.c +++ b/lib/cert-cred.c @@ -804,10 +804,16 @@ void gnutls_certificate_set_retrieve_function2 * or during post-handshake authentication. * * The callback's function prototype is defined in `abstract.h': - * int (*callback)(gnutls_session_t, const struct gnutls_cert_retr_st *info, - * gnutls_pcert_st **certs, unsigned int *pcert_length, - * gnutls_datum_t **ocsp, unsigned int *ocsp_length, - * gnutls_privkey_t * pkey, unsigned int *flags); + * + * int gnutls_certificate_retrieve_function3( + * gnutls_session_t, + * const struct gnutls_cert_retr_st *info, + * gnutls_pcert_st **certs, + * unsigned int *pcert_length, + * gnutls_ocsp_data_st **ocsp, + * unsigned int *ocsp_length, + * gnutls_privkey_t *privkey, + * unsigned int *flags); * * The info field of the callback contains: * @req_ca_dn which is a list with the CA names that the server considers trusted. -- cgit v1.2.1