summary refs log tree commit diff
path: root/tests/cache.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-09-18 23:19:18 +0200
committerLudovic Courtès <ludo@gnu.org>2018-09-18 23:23:44 +0200
commit20f8d73face564deec2f21130fb465c8c3d9a8e9 (patch)
treed8ecbaa43789b8775c559c297fa4abf10959a2f1 /tests/cache.scm
parent1d2b542d34ebec498d1424af81220a00ed0d6a24 (diff)
downloadguix-20f8d73face564deec2f21130fb465c8c3d9a8e9.tar.gz
pull: Use /etc/ssl/certs by default if it exists and is non-empty.
Previously, on machines where /etc/ssl/certs did exist, we'd have this:

  $ unset SSL_CERT_DIR
  $ unset SSL_CERT_FILE
  $ guix pull
  Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
  guix pull: error: Git error: the SSL certificate is invalid

This is because we'd let OpenSSL look for certificates in its default
location, which is an empty directory in its own prefix.

* guix/scripts/pull.scm (honor-x509-certificates): New procedure.
(guix-pull): Use it instead of calling 'honor-lets-encrypt-certificates!'.
Diffstat (limited to 'tests/cache.scm')
0 files changed, 0 insertions, 0 deletions