gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cert retrieve function problems in 3.0.x


From: Dan Winship
Subject: cert retrieve function problems in 3.0.x
Date: Fri, 03 Feb 2012 09:57:34 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0

1) Calling gnutls_certificate_set_retrieve_function() on a server-side
credential doesn't work in 3.0.x (because lib/auth/cert.c mistakenly
checks if cred->server_get_cert_callback is set twice and doesn't check
if cred->get_cert_callback is set at all)

2) gnutls_certificate_set_retrieve_function2() is missing from the
generated docs.

3) The docs for gnutls_certificate_set_retrieve_function2() in the
source tree give an incorrect prototype for the callback function. (It
ends with "gnutls_pcert_st *", but should end with "gnutls_pcert_st **,
unsigned int *pcert_length, gnutls_privkey_t *".)

-- Dan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]