download: Protect against dangling symlinks in $SSL_CERT_DIR.
commit580deec5b44d623e994e59ef07e9e0c5496762fd
authorLudovic Courtès <ludo@gnu.org>
Fri, 16 Dec 2016 17:00:01 +0000 (16 18:00 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 16 Dec 2016 17:00:01 +0000 (16 18:00 +0100)
treed59a573d6c95f6993f58f8b26a9708088459322c
parent99ec0cb397453802788e7095724dcfbca3ca1723
download: Protect against dangling symlinks in $SSL_CERT_DIR.

Reported by Christopher Baines <mail@cbaines.net>
in <https://bugs.gnu.org/25213>.

* guix/build/download.scm (make-credendials-with-ca-trust-files): Check
whether FILE exists before calling
'set-certificate-credentials-x509-trust-file!'.
guix/build/download.scm