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).
This commit is contained in:
Marius Bakke 2017-11-02 22:30:10 +01:00
parent bdf0b6fcff
commit 5d7a47cc30
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 3 additions and 4 deletions

View File

@ -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