[gnutls-dev] NO_CERTIFICATE_FOUND if CA list is empty (CVS)
Nikos Mavroyanopoulos
nmav@gnutls.org
Sun Mar 17 22:52:02 2002
On Sun, Mar 17, 2002 at 08:39:23PM +0000, Andrew McDonald wrote:
> In the CVS version of gnutls I get a GNUTLS_E_NO_CERTIFICATE_FOUND
> error if there are no CA certificates in the credentials list, e.g.
> when the certificate file set through
> gnutls_certificate_set_x509_trust_file is empty or does not exist.
> The 0.3.5 behaviour seems the correct one to me since the user may not
> have any CAs and just wants to check the fingerprint of each
> certificate by hand, especially in situations where the certificate is
> likely to be self-signed.
You are right. I've commited the fix in the cvs.
> Andrew
> --
> Andrew McDonald
> E-mail: andrew@mcdonald.org.uk
> http://www.mcdonald.org.uk/andrew/
--
Nikos Mavroyanopoulos
mailto:nmav@gnutls.org