aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/unit_x509.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_x509.cpp
parent2fc2598ebab23aa63f7be30c8a2eff6afb262fb3 (diff)
Simplify exception messages
Remove "Invalid argument" and "Decoding Error" prefixes
Diffstat (limited to 'src/tests/unit_x509.cpp')
-rw-r--r--src/tests/unit_x509.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/unit_x509.cpp b/src/tests/unit_x509.cpp
index 265f426af..b0a5da23a 100644
--- a/src/tests/unit_x509.cpp
+++ b/src/tests/unit_x509.cpp
@@ -565,7 +565,7 @@ Test::Result test_x509_authority_info_access_extension()
{
test_result.test_eq("Build CA certitiface with invalid encoding scheme EMSA1 for key type " +
sk->algo_name(), e.what(),
- "Invalid argument Encoding scheme with canonical name EMSA1 not supported for signature algorithm RSA");
+ "Encoding scheme with canonical name EMSA1 not supported for signature algorithm RSA");
}
#endif
@@ -591,7 +591,7 @@ Test::Result test_x509_authority_info_access_extension()
{
test_result.test_eq("Configured conflicting hash functions for CA",
e.what(),
- "Invalid argument Hash function from opts and hash_fn argument need to be identical");
+ "Hash function from opts and hash_fn argument need to be identical");
}
// Create X509 CA object: its signer will use the padding scheme from the CA certificate, i.e. EMSA3