mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-23 10:05:08 +00:00
#3 Make testcases compile. They still need to be adjusted to the new way of working
This commit is contained in:
parent
b45dc25226
commit
0fd3d9e62e
@ -127,7 +127,7 @@ START_TEST(test_encode_query)
|
||||
q.id = 1337;
|
||||
d = resolv;
|
||||
|
||||
encode_data(queryData, strlen(queryData), 100, d, 'A');
|
||||
encode_data(queryData, strlen(queryData), 100, d);
|
||||
pos = strlen(resolv);
|
||||
d += pos;
|
||||
if (*d != '.') {
|
||||
|
@ -35,7 +35,7 @@ START_TEST(test_encoding_base32)
|
||||
end = malloc(16);
|
||||
memset(end, 0, 16);
|
||||
|
||||
codedlength = encode_data(start, 9, 256, temp, 0);
|
||||
codedlength = encode_data(start, 9, 256, temp);
|
||||
tempend = temp + strlen(temp);
|
||||
decode_data(end, 16, temp, tempend);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user