aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_pem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_pem.cpp')
-rw-r--r--src/tests/test_pem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/test_pem.cpp b/src/tests/test_pem.cpp
index bf5913ced..5fc8080dd 100644
--- a/src/tests/test_pem.cpp
+++ b/src/tests/test_pem.cpp
@@ -33,17 +33,17 @@ class PEM_Tests : public Test
result.test_eq("PEM decoding label", label1, "BUNNY");
result.test_throws("PEM decoding unexpected label",
- "Invalid argument Decoding error: PEM: Label mismatch, wanted FLOOFY, got BUNNY",
+ "PEM: Label mismatch, wanted FLOOFY, got BUNNY",
[pem1]() { Botan::PEM_Code::decode_check_label(pem1, "FLOOFY"); });
const std::string malformed_pem1 = "---BEGIN BUNNY-----\n-----END BUNNY-----";
result.test_throws("PEM decoding bad init label",
- "Invalid argument Decoding error: PEM: No PEM header found",
+ "PEM: No PEM header found",
[malformed_pem1]() { Botan::PEM_Code::decode_check_label(malformed_pem1, "BUNNY"); });
const std::string malformed_pem2 = "-----BEGIN BUNNY-----\n-----END FLOOFY-----";
result.test_throws("PEM decoding bad init label",
- "Invalid argument Decoding error: PEM: Malformed PEM trailer",
+ "PEM: Malformed PEM trailer",
[malformed_pem2]() { Botan::PEM_Code::decode_check_label(malformed_pem2, "BUNNY"); });