Fix documented params for gnutls_certificate_retrieve_function3()
authorTim Rühsen <tim.ruehsen@gmx.de>
Tue, 16 Jul 2019 12:41:50 +0000 (14:41 +0200)
committerTim Rühsen <tim.ruehsen@gmx.de>
Tue, 16 Jul 2019 12:41:50 +0000 (14:41 +0200)
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
lib/cert-cred.c

index c34d241fc15f344eecd1d176b3687d286e99e420..7311737298b7e19e96ea51cf78d8f0ca6ed00f82 100644 (file)
@@ -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.