gnu: LibreSSL: Make search paths single-entry.
Fixes <https://bugs.gnu.org/36817>. Reported by Katherine Cox-Buday <cox.katherine.e@gmail.com>. * gnu/packages/tls.scm (libressl)[native-search-paths]: Add SEPARATOR #F in search path specifications.
This commit is contained in:
		
							parent
							
								
									61fe56fc60
								
							
						
					
					
						commit
						04cfe91efd
					
				
					 1 changed files with 2 additions and 4 deletions
				
			
		| 
						 | 
					@ -515,15 +515,13 @@ required structures.")
 | 
				
			||||||
                           ;; Provide a TLS-enabled netcat.
 | 
					                           ;; Provide a TLS-enabled netcat.
 | 
				
			||||||
                           "--enable-nc")))
 | 
					                           "--enable-nc")))
 | 
				
			||||||
    (native-search-paths
 | 
					    (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
 | 
					     (list (search-path-specification
 | 
				
			||||||
            (variable "SSL_CERT_DIR")
 | 
					            (variable "SSL_CERT_DIR")
 | 
				
			||||||
 | 
					            (separator #f)              ;single entry
 | 
				
			||||||
            (files '("etc/ssl/certs")))
 | 
					            (files '("etc/ssl/certs")))
 | 
				
			||||||
           (search-path-specification
 | 
					           (search-path-specification
 | 
				
			||||||
            (variable "SSL_CERT_FILE")
 | 
					            (variable "SSL_CERT_FILE")
 | 
				
			||||||
 | 
					            (separator #f)              ;single entry
 | 
				
			||||||
            (files '("etc/ssl/certs/ca-certificates.crt")))))
 | 
					            (files '("etc/ssl/certs/ca-certificates.crt")))))
 | 
				
			||||||
    (home-page "https://www.libressl.org/")
 | 
					    (home-page "https://www.libressl.org/")
 | 
				
			||||||
    (synopsis "SSL/TLS implementation")
 | 
					    (synopsis "SSL/TLS implementation")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue