Skip to content

Commit

Permalink
Fix MbedTLS_jll tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Nov 17, 2020
1 parent 38bab47 commit f2424e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/MbedTLS_jll/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using Test, Libdl, MbedTLS_jll

@testset "MbedTLS_jll" begin
vstr = zeros(UInt8, 32)
ccall((:mbedtls_version_get_string, libmbedtls), Cvoid, (Ref{UInt8},), vstr)
ccall((:mbedtls_version_get_string, libmbedcrypto), Cvoid, (Ref{UInt8},), vstr)
vn = VersionNumber(unsafe_string(pointer(vstr)))
@test vn == v"2.24.0"
end

0 comments on commit f2424e8

Please sign in to comment.