From c2c315f45f3e0980af1af9bd90c09696c159fd8c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 20 Mar 2018 11:32:16 +0200 Subject: Use 12 instead of 16-character abbreviated hash This should help a bit with long paths on Windows. --- bpkg/auth.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpkg/auth.cxx') 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. -- cgit v1.1