diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2019-07-17 09:24:58 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2019-07-17 09:24:58 +0000 |
commit | 4416da13f0975476d83452c9d6d093aec9ebb27e (patch) | |
tree | d4f734f9372ea1b692f850b6e36340c1207c7792 | |
parent | 9ba468c457478c1c1fbdd772b45c1564584a160e (diff) | |
parent | 2508d421a2560948a968482e0d9bba74df3fffce (diff) | |
download | gnutls-4416da13f0975476d83452c9d6d093aec9ebb27e.tar.gz |
Merge branch 'tmp-fix-doc-gnutls_certificate_set_retrieve_function3' into 'master'
Fix documented params for gnutls_certificate_retrieve_function3()
See merge request gnutls/gnutls!1047
-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. |