aboutsummaryrefslogtreecommitdiff
path: root/bpkg/auth.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-20 11:32:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-20 11:32:16 +0200
commitc2c315f45f3e0980af1af9bd90c09696c159fd8c (patch)
tree0d83c476cc145d6db5027554069c682da51de35d /bpkg/auth.cxx
parent96c8d4543f45bece46e738e5deb0566db20843b7 (diff)
Use 12 instead of 16-character abbreviated hash
This should help a bit with long paths on Windows.
Diffstat (limited to 'bpkg/auth.cxx')
-rw-r--r--bpkg/auth.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx
index bdcf528..c8ec955 100644
--- a/bpkg/auth.cxx
+++ b/bpkg/auth.cxx
@@ -204,7 +204,7 @@ namespace bpkg
return pem
? real_fingerprint (co, *pem, rl)
: fingerprint {string (),
- sha256 (name_prefix (rl)).abbreviated_string (16)};
+ sha256 (name_prefix (rl)).abbreviated_string (12)};
}
// Parse the PEM-encoded certificate representation.