Home
last modified time | relevance | path

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

/curl/tests/unit/
H A Dunit1655.c146 size_t olen1 = magic1; variable
154 DOHcode ret = doh_req_encode(sunshine1, dnstype, buffer, buflen, &olen1);
156 fail_if(olen1 == magic1, "olen has not been assigned properly");
157 fail_unless(olen1 > strlen(sunshine1), "bad out length");
164 fail_unless(olen1 == olen2, "olen should not grow for a trailing dot");
171 fail_unless(olen1 + 1 == olen2, "olen should grow with the hostname");
174 ret = doh_req_encode(sunshine1, dnstype, buffer, olen1 - 1, &olen);
178 ret = doh_req_encode(sunshine1, dnstype, buffer, olen1, &olen);
180 fail_unless(olen == olen1, "bad buffer length");

Completed in 8 milliseconds