[gnutls-dev] Problem with gnutls_certificate_verify_peers2()
victor at inl.fr
Wed May 16 10:36:56 CEST 2007
I'm still not sure that it's a bug but looks to be a problem in the
gnutls_session_t session, unsigned int * status);
gnutls_session_t session is a gnutls session
unsigned int * status is the output of the verification
This function will try to verify the peer's certificate and return its
status (trusted, invalid etc.). (...)
Returns a negative error code on error and zero on success.
What is "a success" in this case? In my mind, success means that the
certificate is valid but it looks like I'm wrong.
More information about the Gnutls-devel