Bug#736427: [bug #41331] spurious errors if some files in the cert directory are not certificates

2014-02-28 Thread Vincent Lefèvre
Follow-up Comment #6, bug #41331 (project wget): I would say c. Perhaps f could be OK too and could be even safer, but this is partly unrelated to the error/warning message. e may not be sufficient. For instance, a user may want to rename some buggy/old certificate by adding the ~ character at th

Bug#736427: [bug #41331] spurious errors if some files in the cert directory are not certificates

2014-02-27 Thread Vincent Lefèvre
Follow-up Comment #4, bug #41331 (project wget): Having a file that is not a certificate is not something broken. The message is distracting and can make more useful messages less visible. Also, wget is not the right tool to see if something is broken in the certificate directory. Even if somethi

Bug#736427: [bug #41331] spurious errors if some files in the cert directory are not certificates

2014-02-21 Thread Vincent Lefèvre
Follow-up Comment #2, bug #41331 (project wget): In my case, a strace shows, e.g. for an empty file "empty": 10268 stat("/home/vinc17/wd/config/cacert/empty", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 10268 open("/home/vinc17/wd/config/cacert/empty", O_RDONLY) = 6 10268 fstat(6, {st_mode=S_IFRE