aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-12-25 20:25:32 -0500
committerJack Lloyd <[email protected]>2015-12-25 20:25:32 -0500
commitc3f3ccd266a5f64bb34749977cfd614a5d1f6a0a (patch)
treeae7c55cb4f9115e37a3b1425c9f394a4cd5af313 /src
parent65a35d8bf385683b111312353bb40e944a26274e (diff)
Fix Clang warning
Diffstat (limited to 'src')
-rw-r--r--src/cli/asn1.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cli/asn1.cpp b/src/cli/asn1.cpp
index 8096f2d19..957fa1f24 100644
--- a/src/cli/asn1.cpp
+++ b/src/cli/asn1.cpp
@@ -147,6 +147,9 @@ std::string type_name(Botan::ASN1_Tag type)
case Botan::BOOLEAN:
return "BOOLEAN";
+
+ default:
+ return "TAG(" + std::to_string(static_cast<size_t>(type)) + ")";
}
return "(UNKNOWN)";