diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-01-23 13:59:59 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-01-24 15:47:31 +0100 |
commit | 7c3313a3baaa3695081a9c17b521931877babad6 (patch) | |
tree | 83bd53d8019da2644d00c13d446fc292c2b2782c /test/other_tools/git_operations/critical_git_ops.test.cpp | |
parent | 584f4b47b4e8cb59a9bdc3942be8d0bcd7e3cea7 (diff) | |
download | justbuild-7c3313a3baaa3695081a9c17b521931877babad6.tar.gz |
GitRepo: Add SSL certificate verification callbacks for remote commit update
The libgit2 library does not satisfy the http.sslVerify gitconfig
field or the GIT_SSL_NO_VERIFY environment variable, so we have to
perform these checks ourselves and supply the correct return value
from the certificate_check git_fetch_options callback.
The callbacks used for fixing the remote fetch SSL certificate
verification are reused here.
Diffstat (limited to 'test/other_tools/git_operations/critical_git_ops.test.cpp')
0 files changed, 0 insertions, 0 deletions