aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/unit_ecdsa.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-08-22 15:54:04 -0400
committerJack Lloyd <[email protected]>2018-08-22 15:54:04 -0400
commit56468f8a389350516de67005c8e780c4f7743aab (patch)
treef151e3421fe9532087c9b62468e1a02344086478 /src/tests/unit_ecdsa.cpp
parent2fc2598ebab23aa63f7be30c8a2eff6afb262fb3 (diff)
Simplify exception messages
Remove "Invalid argument" and "Decoding Error" prefixes
Diffstat (limited to 'src/tests/unit_ecdsa.cpp')
-rw-r--r--src/tests/unit_ecdsa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/unit_ecdsa.cpp b/src/tests/unit_ecdsa.cpp
index 260eb8571..88c3a4d05 100644
--- a/src/tests/unit_ecdsa.cpp
+++ b/src/tests/unit_ecdsa.cpp
@@ -304,7 +304,7 @@ Test::Result test_encoding_options()
auto invalid_format = static_cast<Botan::PointGFp::Compression_Type>(99);
result.test_throws("Invalid point format throws",
- "Invalid argument Invalid point encoding for EC_PublicKey",
+ "Invalid point encoding for EC_PublicKey",
[&] { key.set_point_encoding(invalid_format); });
}