From 12bafa4e411b1fc240fe744e53efe805e972c426 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 17 Apr 2020 15:01:40 -0700 Subject: core: debug cert calls Signed-off-by: Dirk Hohndel --- core/git-access.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core') 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 -- cgit v1.2.3-70-g09d2