Skip to content
Snippets Groups Projects
Commit 9f1dfac9 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

tests: fix compilation error in sign_tests.c

parent 2ecf6709
No related branches found
No related tags found
No related merge requests found
......@@ -238,7 +238,9 @@ static int sign_tests_run(int argc, char *argv[])
"knot_tsig_key_from_params(), no shared secret");
params.name = name;
params.secret = "Ok6NmA==";
result = knot_binary_from_base64("Ok6NmA==", &params.secret);
assert(result == KNOT_EOK);
uint8_t decoded_secret[] = { 0x3a, 0x4e, 0x8d, 0x98 };
result = knot_tsig_key_from_params(&params, &tsig_key);
ok(result == KNOT_EOK
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment