···376377# Prevent OpenSSL-based applications from using certificates in
378# /etc/ssl.
379-if [ -z "$SSL_CERT_FILE" ]; then
0380 export SSL_CERT_FILE=/no-cert-file.crt
381fi
382
···376377# Prevent OpenSSL-based applications from using certificates in
378# /etc/ssl.
379+# Leave it in shells for convenience.
380+if [ -z "$SSL_CERT_FILE" ] && [ -z "$IN_NIX_SHELL" ]; then
381 export SSL_CERT_FILE=/no-cert-file.crt
382fi
383