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(