Verified Commit d891fa94 authored by Karel Koci's avatar Karel Koci 🤘
Browse files

tests/c/uri: use long lorem ipsum to test signatures

parent 5971dafd
......@@ -328,7 +328,7 @@ END_TEST
// We use multiple keys here
START_TEST(uri_sig_verify_valid) {
uri_t u = uri(FILE_LOREM_IPSUM_SHORT, NULL);
uri_t u = uri(FILE_LOREM_IPSUM, NULL);
ck_assert_ptr_nonnull(u);
ck_assert(uri_add_pubkey(u, "/dev/null/missing"));
ck_assert(uri_add_pubkey(u, USIGN_KEY_1_PUB));
......@@ -340,7 +340,7 @@ END_TEST
// This uses invalid public key
START_TEST(uri_sig_verify_invalid) {
uri_t u = uri(FILE_LOREM_IPSUM_SHORT, NULL);
uri_t u = uri(FILE_LOREM_IPSUM, NULL);
ck_assert_ptr_nonnull(u);
ck_assert(uri_add_pubkey(u, "/dev/null/missing"));
ck_assert(uri_add_pubkey(u, USIGN_KEY_2_PUB));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment