From c7729453a9035d7ba1daded2139f6671d42d2151 Mon Sep 17 00:00:00 2001 From: Sean DuBois Date: Tue, 9 Jan 2024 10:45:57 -0500 Subject: [PATCH] Update src/description.cpp Co-authored-by: Paul-Louis Ageneau --- src/description.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/description.cpp b/src/description.cpp index 36d54f285..e8803d6b5 100644 --- a/src/description.cpp +++ b/src/description.cpp @@ -1306,9 +1306,9 @@ CertificateFingerprint::AlgorithmSize(CertificateFingerprint::Algorithm fingerpr return 48; case CertificateFingerprint::Algorithm::Sha512: return 64; + default: + return 0; } - - return 0; } std::string CertificateFingerprint::AlgorithmIdentifier(