mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
core: debug cert calls
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8629fa3f18
commit
12bafa4e41
1 changed files with 2 additions and 0 deletions
|
@ -289,6 +289,8 @@ int credential_https_cb(git_cred **out,
|
|||
int certificate_check_cb(git_cert *cert, int valid, const char *host, void *payload)
|
||||
{
|
||||
UNUSED(payload);
|
||||
if (verbose)
|
||||
SSRF_INFO("certificate callback for host %s with validity %d\n", host, valid);
|
||||
if (same_string(host, "cloud.subsurface-divelog.org") && cert->cert_type == GIT_CERT_X509) {
|
||||
// for some reason the LetsEncrypt certificate makes libgit2 throw up on some
|
||||
// platforms but not on others
|
||||
|
|
Loading…
Add table
Reference in a new issue