File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -529,9 +529,12 @@ function set_ssl_cert_locations(cert_loc)
529
529
cert_file = isfile (cert_loc) ? cert_loc : Cstring (C_NULL )
530
530
cert_dir = isdir (cert_loc) ? cert_loc : Cstring (C_NULL )
531
531
cert_file == C_NULL && cert_dir == C_NULL && return
532
- ccall ((:git_libgit2_opts , :libgit2 ), Cint,
533
- (Cint, Cstring, Cstring),
534
- Cint (Consts. SET_SSL_CERT_LOCATIONS), cert_file, cert_dir)
532
+ # TODO FIX https://github.com/libgit2/libgit2/pull/3935#issuecomment-253910017
533
+ # ccall((:git_libgit2_opts, :libgit2), Cint,
534
+ # (Cint, Cstring, Cstring),
535
+ # Cint(Consts.SET_SSL_CERT_LOCATIONS), cert_file, cert_dir)
536
+ ENV [" SSL_CERT_FILE" ] = cert_file
537
+ ENV [" SSL_CERT_DIR" ] = cert_dir
535
538
end
536
539
537
540
function __init__ ()
You can’t perform that action at this time.
0 commit comments