aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/auth.cxx2
-rw-r--r--bpkg/manifest-utility.cxx2
2 files changed, 2 insertions, 2 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.
diff --git a/bpkg/manifest-utility.cxx b/bpkg/manifest-utility.cxx
index 4a7d0db..10a1512 100644
--- a/bpkg/manifest-utility.cxx
+++ b/bpkg/manifest-utility.cxx
@@ -146,7 +146,7 @@ namespace bpkg
case repository_type::git:
{
- return dir_path (sha256 (l.canonical_name ()).abbreviated_string (16));
+ return dir_path (sha256 (l.canonical_name ()).abbreviated_string (12));
}
}