diff --git a/stdlib/LibGit2/src/LibGit2.jl b/stdlib/LibGit2/src/LibGit2.jl index b54e9cbb298ee..3e864ff2220c4 100644 --- a/stdlib/LibGit2/src/LibGit2.jl +++ b/stdlib/LibGit2/src/LibGit2.jl @@ -1003,7 +1003,7 @@ function set_ssl_cert_locations(cert_loc) cert_dir = isdir(cert_loc) ? cert_loc : Cstring(C_NULL) cert_file == C_NULL && cert_dir == C_NULL && return @check ccall((:git_libgit2_opts, :libgit2), Cint, - (Cint, Cstring, Cstring), + (Cint, Cstring...), Cint(Consts.SET_SSL_CERT_LOCATIONS), cert_file, cert_dir) end