summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-17 15:01:40 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-18 09:00:21 -0700
commit12bafa4e411b1fc240fe744e53efe805e972c426 (patch)
tree7f6e6df26736472f65d3e52869adf1bf461b5ccc /core
parent8629fa3f18d89b55bdae4538afb5ae81e7706af9 (diff)
downloadsubsurface-12bafa4e411b1fc240fe744e53efe805e972c426.tar.gz
core: debug cert calls
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r--core/git-access.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/git-access.c b/core/git-access.c
index e636b04ca..d87683fe6 100644
--- a/core/git-access.c
+++ b/core/git-access.c
@@ -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