From 5d7a47cc30c57aca5c11a21eebbb959d98e372a4 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 2 Nov 2017 22:30:10 +0100 Subject: [PATCH] gnu: openssl: Make search paths single-entry. * gnu/packages/tls.scm (openssl)[native-search-paths]: Add (separator #f) on SSL_CERT_DIR and SSL_CERT_FILE; set SSL_CERT_FILE to (file-type 'regular). --- gnu/packages/tls.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 98ea8729d4..60fb14c9ae 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -366,15 +366,14 @@ required structures.") ,version "/misc")) #t)))))) (native-search-paths - ;; FIXME: These two variables must designate a single file or directory - ;; and are not actually "search paths." In practice it works OK in user - ;; profiles because there's always just one item that matches the - ;; specification. (list (search-path-specification (variable "SSL_CERT_DIR") + (separator #f) ;single entry (files '("etc/ssl/certs"))) (search-path-specification (variable "SSL_CERT_FILE") + (file-type 'regular) + (separator #f) ;single entry (files '("etc/ssl/certs/ca-certificates.crt"))))) (synopsis "SSL/TLS implementation") (description