diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-02-12 17:22:50 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-02-12 17:35:01 +0300 |
commit | ff06bfac111fe46f0b4453b19a7cfe2589644b87 (patch) | |
tree | f7a5646b1db002534eef857a232d30fb2795f08c /bpkg/rep-info.cxx | |
parent | 1ac50a35f4183cd7cd4bae0b310e20474a2d1f69 (diff) |
Use abbreviated to 16 chars SHA256 fingerprint as certificate id
Diffstat (limited to 'bpkg/rep-info.cxx')
-rw-r--r-- | bpkg/rep-info.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/rep-info.cxx b/bpkg/rep-info.cxx index 128951a..9fc7676 100644 --- a/bpkg/rep-info.cxx +++ b/bpkg/rep-info.cxx @@ -102,7 +102,7 @@ namespace bpkg if (cert != nullptr) cout << "CN=" << cert->name << "/O=" << cert->organization << "/" << cert->email << endl - << sha256_to_fingerprint (cert->fingerprint) << endl; + << cert->fingerprint << endl; } else { @@ -112,7 +112,7 @@ namespace bpkg if (o.cert_fingerprint ()) { if (cert != nullptr) - cout << sha256_to_fingerprint (cert->fingerprint); + cout << cert->fingerprint; cout << endl; } |