Home
last modified time | relevance | path

Searched refs:olen2 (Results 1 – 1 of 1) sorted by relevance

/curl/tests/unit/
H A Dunit1655.c150 size_t olen2; variable
160 olen2 = magic1;
161 ret2 = doh_req_encode(dotshine1, dnstype, buffer, buflen, &olen2);
163 fail_if(olen2 == magic1, "olen has not been assigned properly");
164 fail_unless(olen1 == olen2, "olen should not grow for a trailing dot");
167 olen2 = magic1;
168 ret2 = doh_req_encode(sunshine2, dnstype, buffer, buflen, &olen2);
170 fail_if(olen2 == magic1, "olen has not been assigned properly");
171 fail_unless(olen1 + 1 == olen2, "olen should grow with the hostname");

Completed in 4 milliseconds