Lines Matching refs:verb

157 static int verb = 0;
262 if(str && str2 && verb) printf("%s: %s\n", str, str2);
263 if(verb) printf("error: could not create unbound resolver context\n");
277 if(verb) printf("out of memory\n");
282 if(r && verb) printf("ctx targetfetchpolicy: %s\n", ub_strerror(r));
311 if(verb == 0 || verb == 1) return;
312 if(verb == 2) {
328 if(verb == 0 || verb == 1) return;
341 if(verb) printf("out of memory\n");
347 if(verb) {
354 if(verb) printf("out of memory\n");
374 if(verb) printf("out of memory\n");
379 if(verb) printf("%s: %s\n", file, strerror(errno));
388 if(verb) {
395 if(verb) printf("out of memory\n");
406 if(verb) printf("%s is empty\n", file);
424 if(verb) printf("out of memory\n");
429 if(verb) printf("internal error, out of memory\n");
442 if(verb) printf("using builtin certificate\n");
445 if(verb) printf("have %d trusted certificates\n", sk_X509_num(sk));
464 if(verb) {
501 if(verb) printf("skipped badly formatted A\n");
513 if(verb) printf("skipped badly formatted AAAA\n");
519 if(verb) printf("internal error: bad type in RRtoip\n");
538 if(verb) printf("error: resolve %s %s: %s\n", host,
543 if(verb) printf("out of memory\n");
548 if(verb) printf("resolve %s %s: no result\n", host,
590 if(verb) printf("out of memory\n");
595 if(verb) printf("server address is %s\n", str);
642 if(verb) printf("%s has no IP addresses I can use\n", host);
708 if(verb) printf("%s: %s\n", msg, strerror(errno));
710 if(verb) printf("%s: %s\n", msg, wsa_strerror(WSAGetLastError()));
740 if(verb) printf("SSL_CTX_new error\n");
754 if(verb) printf("SSL_new error\n");
760 if(verb) printf("SSL_set_fd error\n");
770 if(verb) printf("SSL handshake failed\n");
778 if(verb) printf("Server presented no peer certificate\n");
813 if(verb) printf("line too long\n");
816 if(verb >= 2) printf("SSL_write: %s\n", buf);
822 if(verb) printf("could not SSL_write %s", str);
832 if(verb>=2) printf("header: '%s'\n", buf);
836 if(verb) printf("bad status %s\n", buf+9);
866 if(verb) printf("line too long\n");
874 if(verb) printf("could not SSL_read\n");
881 if(verb) printf("error: stray linefeeds\n");
920 if(verb) printf("out of memory\n");
927 if(verb) printf("could not SSL_read: unexpected EOF\n");
931 if(verb) printf("could not SSL_read\n");
935 if(verb >= 2) printf("at %d/%d\n", (int)got, (int)len);
938 if(verb>=2) printf("read %d data\n", (int)len);
963 if(verb>=3) printf("do_chunked_read\n");
965 if(verb) printf("out of memory\n");
970 if(verb>=2) printf("chunk header: %s\n", buf);
973 if(verb>=3) printf("could not parse chunk header\n");
976 if(verb>=2) printf("chunk len: %d\n", (int)len);
990 if(verb) printf("out of memory\n");
1003 if(verb) printf("out of memory\n");
1045 if(verb) printf("could not read from https\n");
1049 if(verb>=2) printf("chunked data is %d\n", (int)l);
1051 if(verb) printf("out of memory\n");
1057 if(verb) printf("out of memory\n");
1081 if(verb >= 4) print_data("read data", data, (int)len);
1084 if(verb) printf("out of memory\n");
1113 if(verb) printf("could not write to server\n");
1144 if(verb) printf("could not fetch %s\n", pathname);
1147 if(verb) printf("fetched %s (%d bytes)\n",
1222 if(verb>=4) {
1233 if(verb) printf("out of memory in BIO_write\n");
1244 if(verb) printf("out of memory in BIO_write\n");
1288 if(verb) printf("xml_convertdate parse failure %s\n", str);
1296 if(verb) printf("xml_convertdate f failure %s\n", str);
1310 if(verb) printf("xml_convertdate tz failure %s\n", str);
1330 if(verb) printf("xml_convertdate mktime failure\n");
1346 if(verb) printf("error: xml cannot be parsed\n");
1355 if(verb) printf("error: xml cannot be parsed\n");
1400 if(verb>=4) printf("xml tag start '%s'\n", name);
1404 if(verb) printf("out of memory\n");
1407 if(verb>=4) {
1437 if(verb) printf("out of memory in BIO_write\n");
1451 if(verb) printf("out of memory in BIO_write\n");
1461 if(verb) printf("out of memory in BIO_write\n");
1493 if(verb>=4) printf("xml tag end '%s'\n", name);
1502 if(verb) printf("xml not for the right zone\n");
1541 if(verb) printf("out of memory\n");
1547 if(verb) printf("out of memory\n");
1576 if(verb) printf("could not XML_ParserCreate\n");
1587 if(verb) printf("out of memory\n");
1592 if(verb) printf("XML_Parse failure %s\n", e?e:"");
1597 if(verb) printf("XML was parsed successfully, %d keys\n",
1602 if(verb >= 4) {
1652 if(verb) printf("out of memory\n");
1657 if(verb) printf("no signers in pkcs7 signature\n");
1666 if(verb) printf("signer %d: cert has no subject name\n", i);
1669 if(verb && nm) {
1674 if(verb >= 3 && X509_NAME_get_text_by_NID(nm,
1677 if(verb >= 3 && X509_NAME_get_text_by_NID(nm,
1681 if(verb) {
1684 if(verb >= 3 && ku_loc >= 0) {
1696 if(verb) printf("did not check commonName of signer\n");
1701 if(verb) printf("removed cert with no name\n");
1705 if(verb) printf("removed cert with wrong name\n");
1714 if(verb) printf("removed cert with no key usage Digital Signature allowed\n");
1738 if(verb) printf("out of memory\n");
1748 if(verb) printf("out of memory\n");
1764 if(verb) printf("could not parse p7s signature file\n");
1768 if(verb >= 2) printf("parsed the PKCS7 signature\n");
1773 if(verb) printf("failed X509_STORE_add_cert\n");
1779 if(verb >= 2) printf("setup the X509_STORE\n");
1791 if(verb) printf("the PKCS7 signature verified\n");
1793 if(verb) {
1812 if(verb) printf("%s: %s\n", root_anchor_file, strerror(errno));
1823 if(verb) printf("failed to write 'unsigned' to %s\n",
1825 if(verb && errno != 0) printf("%s\n", strerror(errno));
1840 if(verb) printf("out of memory\n");
1845 if(verb) printf("%s: %s\n", root_anchor_file, strerror(errno));
1849 if(verb) printf("failed to write all data to %s\n",
1851 if(verb && errno != 0) printf("%s\n", strerror(errno));
1909 if(verb) printf("WSAStartup failed: %s\n",
1923 if(verb) printf("success: the anchor has been updated "
1954 if(verb) printf("%s: %s\n", file, strerror(errno));
1955 if(verb) printf("error: cannot access the file\n");
1958 if(verb) printf("%s does not exist\n", file);
1965 if(verb) printf("%s : the trust point is revoked\n"
1980 if(verb) printf("%s is empty\n", file);
1983 if(verb) printf("%s has content\n", file);
1994 if(verb) printf("%s: %s\n", file, strerror(errno));
1995 if(verb) printf(" could not write builtin anchor\n");
1999 if(verb) printf("%s: %s\n", file, strerror(errno));
2000 if(verb) printf(" could not complete write builtin anchor\n");
2042 if(verb) printf("add 5011 probe to ctx: %s\n", ub_strerror(r));
2060 if(verb) printf("resolve DNSKEY: %s\n", ub_strerror(r));
2065 if(verb) printf("out of memory\n");
2079 if(verb>=2) printf("%s: %s\n", file, strerror(errno));
2086 if(verb) printf("RFC5011-state has ADDPEND keys\n");
2101 if(verb) printf("%s: %s\n", file, strerror(errno));
2110 if(verb) printf("failed to parse "
2114 if(verb) printf("last successful probe: %s", ctime(&x));
2119 if(verb) printf("no last_success probe time in anchor file\n");
2142 if(verb) printf("the date is before the root was first signed,"
2156 if(verb) printf("the last successful probe is in the future,"
2161 if(verb) printf("the last successful probe was more than 30 "
2165 if(verb) printf("the last successful probe is recent\n");
2195 if(verb) printf("success: the anchor is ok\n");
2199 if(force && verb) printf("debug cert update forced\n");
2210 if(verb) printf("fail: the anchor is NOT ok and could not be fixed\n");
2280 verb++;