diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2019-07-16 14:41:50 +0200 |
---|---|---|
committer | Tim Rühsen <tim.ruehsen@gmx.de> | 2019-07-16 14:41:50 +0200 |
commit | 2508d421a2560948a968482e0d9bba74df3fffce (patch) | |
tree | d4f734f9372ea1b692f850b6e36340c1207c7792 | |
parent | 9ba468c457478c1c1fbdd772b45c1564584a160e (diff) | |
download | gnutls-tmp-fix-doc-gnutls_certificate_set_retrieve_function3.tar.gz |
Fix documented params for gnutls_certificate_retrieve_function3()tmp-fix-doc-gnutls_certificate_set_retrieve_function3
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
-rw-r--r-- | lib/cert-cred.c | 14 |
1 files 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. |