mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-22 08:09:19 +02: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;
|
q.id = 1337;
|
||||||
d = resolv;
|
d = resolv;
|
||||||
|
|
||||||
encode_data(queryData, strlen(queryData), 100, d, 'A');
|
encode_data(queryData, strlen(queryData), 100, d);
|
||||||
pos = strlen(resolv);
|
pos = strlen(resolv);
|
||||||
d += pos;
|
d += pos;
|
||||||
if (*d != '.') {
|
if (*d != '.') {
|
||||||
|
|
|
@ -35,7 +35,7 @@ START_TEST(test_encoding_base32)
|
||||||
end = malloc(16);
|
end = malloc(16);
|
||||||
memset(end, 0, 16);
|
memset(end, 0, 16);
|
||||||
|
|
||||||
codedlength = encode_data(start, 9, 256, temp, 0);
|
codedlength = encode_data(start, 9, 256, temp);
|
||||||
tempend = temp + strlen(temp);
|
tempend = temp + strlen(temp);
|
||||||
decode_data(end, 16, temp, tempend);
|
decode_data(end, 16, temp, tempend);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue