On Tue, 6 Sep 2011, Simon Josefsson wrote:
| $ ls -l /etc/ssl/certs/ca-certificates.crt
| -rw-r--r-- 1 root root 0 Sep 2 00:07 /etc/ssl/certs/ca-certificates.crt
This is probably a libgnutls bug, but since I haven't pinned it down
I'm filing it here. Known problem?
I recall similar problems when I also disabled all CAs on my machine long
time ago. I suspect some software may be checking the return code from the
CA loading function, and will treat loading of 0 certificates as an error.
Please try to track down the code that triggers the error message to test
this theory.
I believe it isn't that simple. I think the code that returns the error in
this case can be found here:
https://github.com/bagder/curl/blob/master/lib/gtls.c#L377
... and it clearly checks for a negative return value for it to be an error.
Of course I might be wrong.
--
/ daniel.haxx.se
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]