Skip to content

Commit

Permalink
Search SSL_CERT_FILE before SSL_CERT_DIR
Browse files Browse the repository at this point in the history
This aligns better with the behavior of openssl.
See JuliaLang/Downloads.jl#244 (comment)
  • Loading branch information
visr committed Dec 14, 2024
1 parent 8eec5cb commit 9c0a877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ca_roots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ end

const CA_ROOTS_VARS = [
"JULIA_SSL_CA_ROOTS_PATH"
"SSL_CERT_DIR"
"SSL_CERT_FILE"
"SSL_CERT_DIR"
]

function _ca_roots(allow_nothing::Bool)
Expand Down

0 comments on commit 9c0a877

Please sign in to comment.