Merge pull request #13445 from abbradar/ssl-cert-check

stdenv: set SSL_CERT_FILE only if it isn't already
This commit is contained in:
Eelco Dolstra 2016-02-25 17:23:53 +01:00
commit fe19d0a327
1 changed files with 3 additions and 1 deletions

View File

@ -384,7 +384,9 @@ paxmark() { true; }
# Prevent OpenSSL-based applications from using certificates in
# /etc/ssl.
export SSL_CERT_FILE=/no-cert-file.crt
if [ -z "$SSL_CERT_FILE" ]; then
export SSL_CERT_FILE=/no-cert-file.crt
fi
######################################################################