Skip to content

Commit 0691625

Browse files
eschnettgiordano
andauthored
Expect OpenSSL on Apple starting with curl 8.15 (#277)
* Expect OpenSSL on Apple starting with curl 8.15 * Correct module name * Use built-in function to get curl version --------- Co-authored-by: Mosè Giordano <[email protected]>
1 parent f7126a3 commit 0691625

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/runtests.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ include("setup.jl")
44
@testset "libcurl configuration" begin
55
julia = "$(VERSION.major).$(VERSION.minor)"
66
@test Curl.USER_AGENT == "curl/$(Curl.CURL_VERSION) julia/$julia"
7-
@test Curl.SYSTEM_SSL == Sys.iswindows() | Sys.isapple()
7+
if Curl.CURL_VERSION < v"8.15"
8+
@test Curl.SYSTEM_SSL == Sys.iswindows() | Sys.isapple()
9+
else
10+
# Starting with curl 8.15 we use OpenSSL on Apple platforms
11+
@test Curl.SYSTEM_SSL == Sys.iswindows()
12+
end
813
end
914

1015
@testset "API coverage" begin

0 commit comments

Comments
 (0)