From 7645b2a30f82af285f4026c058f5356b7d37a73f Mon Sep 17 00:00:00 2001 From: Christopher McArthur Date: Sun, 10 Dec 2023 19:06:12 -0500 Subject: [PATCH] fixup 2 more tests --- tests/HelperTest.cpp | 2 +- tests/Keys.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/HelperTest.cpp b/tests/HelperTest.cpp index 1d9b9fcb9..a806988a6 100644 --- a/tests/HelperTest.cpp +++ b/tests/HelperTest.cpp @@ -59,7 +59,7 @@ TEST(HelperTest, ErrorCodeMessages) { ASSERT_EQ(std::error_code(static_cast(i)).message(), std::error_code(static_cast(-1)).message()); - for (i = 10; i < 21; i++) { + for (i = 10; i < 22; i++) { ASSERT_NE(std::error_code(static_cast(i)).message(), std::error_code(static_cast(-1)).message()); } diff --git a/tests/Keys.cpp b/tests/Keys.cpp index 7a3a4900c..dbff27441 100644 --- a/tests/Keys.cpp +++ b/tests/Keys.cpp @@ -157,7 +157,8 @@ d3QtY3BwMQ8wDQYDVQQLDAZnaXRodWIxFDASBgNVBAMMC2V4YW1wbGUuY29tMCow BQYDK2VwAyEAUdLe1SUWxc/95f39pfmuwe1SLHpFXf5gcRQlMH2sjgwwBQYDK2Vw A0EAezYcLIUnyy86uUnAZdAMPn7wTruNKtG36GrTF3PF4dtdoGF1OV5DLnNK0Hbs 3GyYtaZs6AEHwDXl/INXu2zoCQ== ------END CERTIFICATE-----)"; +-----END CERTIFICATE----- +)"; // openssl x509 -outform der -in ed25519_certificate.pem -out ed25519_certificate.der // openssl base64 -in ed25519_certificate.der -out ed25519_certificate.b64 std::string ed25519_certificate_base64_der = "MIIBjzCCAUECFCQlWQxMEMe4c3OOimH4/y+o/HpfMAUGAytlcDBqMQswCQYDVQQG"