Unfortunately, if a ca file name is set the function fails for whatever reason
authorDaniel Stenberg <daniel@haxx.se>
Thu, 7 Apr 2005 22:47:43 +0000 (22:47 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 7 Apr 2005 22:47:43 +0000 (22:47 +0000)
commitb9f1d43921b0384fc2843d2eabd80c33fb490760
tree327ff1d3b2936bb340a6d131a88d0a5c2c8187e2
parentbec6423c026afcf373e2ed94f618d9e335648b24
Unfortunately, if a ca file name is set the function fails for whatever reason
(missing file, bad file, etc), gnutls will no longer handshake properly but it
just loops forever. Therefore, we must return error if we get an error when
setting the CA cert file name. This is not the same behaviour as with OpenSSL.

Question/report posted to the help-gnutls mailing list, April 8 2005.
lib/gtls.c