diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-07-30 21:57:05 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-07-30 21:57:05 +0000 |
commit | f7fcb81552df402c64739f7ae4626732ed333f1d (patch) | |
tree | 5f09fa296f1dd7a8b9f2fdba0e5d036a8405e586 | |
parent | 33c9889c803e90f0d16818df992c910c269b2203 (diff) | |
download | gnutls-f7fcb81552df402c64739f7ae4626732ed333f1d.tar.gz |
corrected documentation.
-rw-r--r-- | doc/tex/ex-cert-select.tex | 6 | ||||
-rw-r--r-- | lib/gnutls_cert.c | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/doc/tex/ex-cert-select.tex b/doc/tex/ex-cert-select.tex index 999320cc30..9e3ae809a4 100644 --- a/doc/tex/ex-cert-select.tex +++ b/doc/tex/ex-cert-select.tex @@ -25,9 +25,9 @@ #define CAFILE "ca.pem" static int cert_callback(gnutls_session_t session, - const gnutls_datum_t* req_ca_rdn, int nreqs, - const gnutls_pk_algorithm_t* sign_algos, int sign_algos_length, - gnutls_retr_st * st); + const gnutls_datum_t* req_ca_rdn, int nreqs, + const gnutls_pk_algorithm_t* sign_algos, int sign_algos_length, + gnutls_retr_st * st); gnutls_x509_crt_t crt; gnutls_x509_privkey_t key; diff --git a/lib/gnutls_cert.c b/lib/gnutls_cert.c index 8d0cc8d366..453838335a 100644 --- a/lib/gnutls_cert.c +++ b/lib/gnutls_cert.c @@ -316,7 +316,7 @@ void gnutls_certificate_server_set_request(gnutls_session_t session, * to be used in the handshake. * The callback's function prototype is: * int (*callback)(gnutls_session_t, const gnutls_datum_t* req_ca_dn, int nreqs, - * gnutls_pk_algorithm_t* pk_algos, int pk_algos_length, gnutls_retr_st st); + * gnutls_pk_algorithm_t* pk_algos, int pk_algos_length, gnutls_retr_st* st); * * @st should contain the certificates and private keys. * @@ -351,8 +351,7 @@ void gnutls_certificate_client_set_retrieve_function * This function sets a callback to be called in order to retrieve the certificate * to be used in the handshake. * The callback's function prototype is: - * int (*callback)(gnutls_session_t, const gnutls_datum_t* req_ca_dn, int nreqs, - * gnutls_pk_algorithm_t* pk_algos, int pk_algos_length, gnutls_retr_st st); + * int (*callback)(gnutls_session_t, gnutls_retr_st* st); * * @st should contain the certificates and private keys. * |