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:
commit
fe19d0a327
@ -384,7 +384,9 @@ paxmark() { true; }
|
|||||||
|
|
||||||
# Prevent OpenSSL-based applications from using certificates in
|
# Prevent OpenSSL-based applications from using certificates in
|
||||||
# /etc/ssl.
|
# /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
|
||||||
|
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user