Home
last modified time | relevance | path

Searched refs:warnx (Results 1 – 25 of 444) sorted by relevance

12345678910>>...18

/openbsd/src/regress/lib/libc/open_memstream/
Dopen_memstreamtest.c46 warnx("ftello failed. (1)"); in main()
51 warnx("fflush failed. (2)"); in main()
56 warnx("string should be empty. (3)"); in main()
61 warnx("buf not updated. (4)"); in main()
66 warnx("failed to fseek. (5)"); in main()
71 warnx("fprintf failed. (6)"); in main()
76 warnx("fflush failed. (7)"); in main()
81 warnx("failed, size %zu should be %zu. (8)", in main()
87 warnx("failed to fseek. (9)"); in main()
92 warnx("fprintf failed. (10)"); in main()
[all …]
/openbsd/src/usr.sbin/rpki-client/
Dx509.c149 warnx("%s: could not cache X509v3 extensions", fn); in x509_cache_extensions()
172 warnx("%s: RFC 6487 section 4.8.3: error parsing AKI", in x509_get_aki()
179 warnx("%s: RFC 6487 section 4.8.3: " in x509_get_aki()
184 warnx("%s: RFC 6487 section 4.8.3: AKI: " in x509_get_aki()
192 warnx("%s: RFC 6487 section 4.8.3: AKI: " in x509_get_aki()
201 warnx("%s: RFC 6487 section 4.8.2: AKI: " in x509_get_aki()
232 warnx("%s: RFC 6487 section 4.8.2: error parsing SKI", in x509_get_ski()
239 warnx("%s: RFC 6487 section 4.8.2: " in x509_get_ski()
245 warnx("%s: X509_pubkey_digest", fn); in x509_get_ski()
250 warnx("%s: RFC 6487 section 4.8.2: SKI: " in x509_get_ski()
[all …]
Dcms.c44 warnx("%s: RFC 6488 section 2.1.4: " in cms_extract_econtent()
77 warnx("%s: CMS signing-time issue", fn); in cms_get_signtime()
80 warnx("%s: GeneralizedTime instead of UTCtime", fn); in cms_get_signtime()
84 warnx("%s: failed to convert %s", fn, time_str); in cms_get_signtime()
124 warnx("%s: RFC 6488: failed CMS parse", fn); in cms_parse_validate_internal()
128 warnx("%s: %td bytes trailing garbage", fn, oder + len - der); in cms_parse_validate_internal()
138 warnx("%s: CMS verification error", fn); in cms_parse_validate_internal()
147 warnx("%s: RFC 6488: missing content-type", fn); in cms_parse_validate_internal()
151 warnx("%s: RFC 6488: no signerInfo in CMS object of type %s", in cms_parse_validate_internal()
156 warnx("%s: RFC 6488: CMS has multiple signerInfos", fn); in cms_parse_validate_internal()
[all …]
Dcert.c89 warnx("%s: RFC 3779 section 3.2.3.8 (via RFC 1930): " in sbgp_as_range()
95 warnx("%s: RFC 3779 section 3.2.3.8 (via RFC 1930): " in sbgp_as_range()
101 warnx("%s: RFC 3379 section 3.2.3.8: ASRange: " in sbgp_as_range()
105 warnx("%s: RFC 3379 section 3.2.3.8: ASRange: " in sbgp_as_range()
126 warnx("%s: RFC 3779 section 3.2.3.10 (via RFC 1930): " in sbgp_as_id()
131 warnx("%s: RFC 3779 section 3.2.3.10 (via RFC 1930): " in sbgp_as_id()
162 warnx("%s: RFC 6487 section 4.8.11: autonomousSysNum: " in sbgp_parse_assysnum()
168 warnx("%s: RFC 6487 section 4.8.11: autonomousSysNum: " in sbgp_parse_assysnum()
182 warnx("%s: RFC 3779 section 3.2.3.2: ASIdentifierChoice: " in sbgp_parse_assysnum()
188 warnx("%s: RFC 6487 section 4.8.11: empty asIdsOrRanges", fn); in sbgp_parse_assysnum()
[all …]
Dcrl.c42 warnx("%s: RFC 6487, section 5: " in crl_check_crl_number()
45 warnx("%s: RFC 6487, section 5: missing CRL number", in crl_check_crl_number()
50 warnx("%s: RFC 6487, section 5: CRL number not non-critical", in crl_check_crl_number()
79 warnx("%s: RFC 6487 section 4.8.3: AKI: " in crl_get_aki()
82 warnx("%s: RFC 6487 section 4.8.3: AKI: " in crl_get_aki()
87 warnx("%s: RFC 6487 section 4.8.3: " in crl_get_aki()
92 warnx("%s: RFC 6487 section 4.8.3: AKI: " in crl_get_aki()
100 warnx("%s: RFC 6487 section 4.8.3: AKI: " in crl_get_aki()
109 warnx("%s: RFC 6487 section 4.8.3: AKI: " in crl_get_aki()
145 warnx("%s: RFC 5280, section 5.1.2.6: revoked " in crl_check_revoked()
[all …]
Drsc.c139 warnx("%s: RSC asID empty", fn); in rsc_parse_aslist()
144 warnx("%s: too many AS number entries: limit %d", in rsc_parse_aslist()
169 warnx("%s: RSC AsList: unknown type %d", fn, aor->type); in rsc_parse_aslist()
192 warnx("%s: RSC ipAddrBlocks empty", fn); in rsc_parse_iplist()
202 warnx("%s: too many IP address entries: limit %d", in rsc_parse_iplist()
213 warnx("%s: RSC: invalid AFI", fn); in rsc_parse_iplist()
231 warnx("%s: RFC 3779: IPAddressOrRange: " in rsc_parse_iplist()
250 warnx("%s: RSC DigestAlgorithmIdentifier unexpected parameters:" in rsc_check_digesttype()
256 warnx("%s: RSC DigestAlgorithmIdentifier: want SHA256, have %s", in rsc_check_digesttype()
278 warnx("%s: RSC checkList needs at least one entry", fn); in rsc_parse_checklist()
[all …]
Dgeofeed.c64 warnx("invalid address: %s", buf); in geofeed_parse_geoip()
133 warnx("%s: malformed file, expected CRLF line" in geofeed_parse()
139 warnx("%s: trailing data after signature section", fn); in geofeed_parse()
151 warnx("%s: line in signature section too long", in geofeed_parse()
156 warnx("%s: line in signature section too " in geofeed_parse()
185 warnx("%s: BIO_puts failed", fn); in geofeed_parse()
217 warnx("%s: absent or invalid signature", fn); in geofeed_parse()
222 warnx("%s: base64_decode failed", fn); in geofeed_parse()
239 warnx("%s: missing AIA, AKI, or SKI X509 extension", fn); in geofeed_parse()
252 warnx("%s: inherit elements not allowed in EE cert", fn); in geofeed_parse()
[all …]
Droa.c116 warnx("%s: RFC 6482 section 3: failed to parse " in roa_parse_econtent()
121 warnx("%s: %td bytes trailing garbage in eContent", fn, in roa_parse_econtent()
130 warnx("%s: RFC 6482 section 3.2: asID: " in roa_parse_econtent()
137 warnx("%s: RFC 9582: unexpected number of ipAddrBlocks " in roa_parse_econtent()
149 warnx("%s: RFC 6482 section 3.3: addressFamily: " in roa_parse_econtent()
157 warnx("%s: RFC 9582 section 4.3.2: " in roa_parse_econtent()
164 warnx("%s: RFC 9582 section 4.3.2: " in roa_parse_econtent()
172 warnx("%s: RFC 9582, section 4.3.2: " in roa_parse_econtent()
178 warnx("%s: too many ROAIPAddress entries: limit %d", in roa_parse_econtent()
191 warnx("%s: RFC 6482 section 3.3: address: " in roa_parse_econtent()
[all …]
/openbsd/src/usr.sbin/acme-client/
Dacctproc.c55 warnx("BN_bn2bin"); in bn2string()
63 warnx("base64buf_url"); in bn2string()
83 warnx("EVP_PKEY_get0_RSA"); in op_thumb_rsa()
85 warnx("bn2string"); in op_thumb_rsa()
87 warnx("bn2string"); in op_thumb_rsa()
89 warnx("json_fmt_thumb_rsa"); in op_thumb_rsa()
109 warnx("EVP_PKEY_get0_EC_KEY"); in op_thumb_ec()
111 warnx("BN_new"); in op_thumb_ec()
113 warnx("BN_new"); in op_thumb_ec()
116 warnx("EC_POINT_get_affine_coordinates"); in op_thumb_ec()
[all …]
Dnetproc.c98 warnx("%s: unknown schema", host); in url2host()
203 warnx("too many redirects"); in nreq()
210 warnx("redirect without location header"); in nreq()
272 warnx("%s: no replay nonce", c->newnonce); in sreq()
367 warnx("json_fmt_newacc"); in donewacc()
369 warnx("%s: bad comm", p->newaccount); in donewacc()
372 warnx("%s: bad JSON object", p->newaccount); in donewacc()
377 warnx("%s", error); in donewacc()
382 warnx("%s: bad HTTP: %ld", p->newaccount, lc); in donewacc()
384 warnx("%s: empty response", p->newaccount); in donewacc()
[all …]
Dkey.c46 warnx("EVP_PKEY_CTX_new_id"); in rsa_key_create()
50 warnx("EVP_PKEY_keygen_init"); in rsa_key_create()
54 warnx("EVP_PKEY_set_rsa_keygen_bits"); in rsa_key_create()
58 warnx("EVP_PKEY_keygen"); in rsa_key_create()
65 warnx("%s: PEM_write_PrivateKey", fname); in rsa_key_create()
85 warnx("EVP_PKEY_CTX_new_id"); in ec_key_create()
89 warnx("EVP_PKEY_keygen_init"); in ec_key_create()
93 warnx("EVP_PKEY_CTX_set_ec_paramgen_curve_nid"); in ec_key_create()
97 warnx("EVP_PKEY_keygen"); in ec_key_create()
104 warnx("%s: PEM_write_PrivateKey", fname); in ec_key_create()
[all …]
Dkeyproc.c62 warnx("X509V3_EXT_conf_nid"); in add_ext()
148 warnx("X509_REQ_new"); in keyproc()
151 warnx("X509_REQ_set_version"); in keyproc()
154 warnx("X509_REQ_set_pubkey"); in keyproc()
161 warnx("X509_NAME_new"); in keyproc()
165 warnx("X509_NAME_add_entry_by_txt: CN=%s", alts[0]); in keyproc()
168 warnx("X509_req_set_issuer_name"); in keyproc()
182 warnx("sk_X509_EXTENSION_new_null"); in keyproc()
218 warnx("add_ext"); in keyproc()
221 warnx("X509_REQ_add_extensions"); in keyproc()
[all …]
Drevokeproc.c47 warnx("missing notAfter"); in X509expires()
54 warnx("invalid ASN1_TIME"); in X509expires()
105 warnx("%s: no certificate found", certfile); in revokeproc()
115 warnx("PEM_read_X509"); in revokeproc()
122 warnx("%s: invalid X509v3 extensions", certfile); in revokeproc()
129 warnx("X509expires"); in revokeproc()
137 warnx("%s: does not have a SAN entry", certfile); in revokeproc()
189 warnx("%s: unexpected SAN entry: %s", in revokeproc()
199 warnx("%s: duplicate SAN entry: %.*s", in revokeproc()
211 warnx("%s: domain not listed: %s", certfile, alts[j]); in revokeproc()
[all …]
Dutil.c87 warnx("short read: %s", comms[comm]); in readop()
120 warnx("short read: %s length", comms[comm]); in readbuf()
123 warnx("integer overflow"); in readbuf()
146 warnx("couldn't read buffer: %s", comms[comm]); in readbuf()
171 warnx("short write: %s", comms[comm]); in writeop()
203 warnx("short write: %s length", comms[comm]); in writebuf()
210 warnx("short write: %s", comms[comm]); in writebuf()
240 warnx("signal: %s(%u): %s", comps[comp], pid, cp); in checkexit()
243 warnx("did not exit: %s(%u)", comps[comp], pid); in checkexit()
275 warnx("signal: %s(%u): %s", comps[comp], pid, cp); in checkexit_ext()
[all …]
/openbsd/src/usr.bin/chpass/
Dfield.c51 warnx("empty login field"); in p_login()
55 warnx("login names may not begin with a hyphen"); in p_login()
60 warnx("login %s already exists", p); in p_login()
64 warnx("can't save entry"); in p_login()
68 warnx("\'.\' is dangerous in a login name"); in p_login()
71 warnx("upper-case letters are dangerous in a login name"); in p_login()
83 warnx("can't save password entry"); in p_passwd()
97 warnx("empty uid field"); in p_uid()
102 warnx("uid is %s", errstr); in p_uid()
117 warnx("empty gid field"); in p_gid()
[all …]
/openbsd/src/regress/lib/libc/fmemopen/
Dfmemopentest.c51 warnx("failed copy test (1)"); in simpletest()
58 warnx("failed seek test (2)"); in simpletest()
64 warnx("failed read test (3) %zu != %zu", in simpletest()
87 warnx("failed seek test [%s] (4)", mode); in appendtest()
94 warnx("failed write test [%s] (5)", mode); in appendtest()
99 warnx("failed seek test [%s] (6)", mode); in appendtest()
107 warnx("failed compare test [%s] (7)", mode); in appendtest()
113 warnx("failed compare test [%s] (8)", mode); in appendtest()
118 warnx("failed compare test [%s] (9)", mode); in appendtest()
139 warnx("failed seek test (10)"); in updatetest()
[all …]
/openbsd/src/usr.sbin/ocspcheck/
Docspcheck.c90 warnx("%s: parse error: %s", s, gai_strerror(error)); in host_dns()
148 warnx("%s: unknown schema", host); in url2host()
172 warnx("error parsing port from '%s': %s", url, errstr); in url2host()
209 warnx("No CA certs to load"); in read_cacerts()
213 warnx("Malloc failed"); in read_cacerts()
219 warnx("Unable to load CA cert file"); in read_cacerts()
223 warnx("Unable to load CA certs from file %s", file); in read_cacerts()
230 warnx("Unable to load CA cert directory"); in read_cacerts()
234 warnx("Unable to load CA certs from directory %s", dir); in read_cacerts()
261 warnx("Unable to read PEM format from %s", file); in STACK_OF()
[all …]
/openbsd/src/regress/lib/libc/printf/
Dstring.c62 warnx("printf(\"%s\", %d) returned %d (expected %zu)", in tc()
68 warnx("printf(\"%s\", %d) wrote \"%s\" (expected \"%s\")", in tc()
74 warnx("printf(\"%s\", %d) wrote \"%s\" length %d (OK)", in tc()
102 warnx("%s printf(\"%s\", U+%.4X) returned %d (expected %zu)", in tlc()
108 warnx("%s printf(\"%s\", U+%.4X) " in tlc()
115 warnx("%s printf(\"%s\", U+%.4X) wrote \"%s\" length %d (OK)", in tlc()
138 warnx("%s printf(\"%s\", U+%.4X) errno %d (expected %d)", in tlc_expect_fail()
142 warnx("%s printf(\"%s\", U+%.4X) returned %d errno %d (OK)", in tlc_expect_fail()
167 warnx("printf(\"%s\", \"%s\") returned %d (expected %zu)", in ts()
173 warnx("printf(\"%s\", \"%s\") wrote \"%s\" (expected \"%s\")", in ts()
[all …]
/openbsd/src/regress/sys/kern/pledge/execpromise/
Dexecpromise.c46 warnx("child"); in main()
50 warnx("plege(\"%s\",\"\")", argv[0]); in main()
55 warnx("trying to open socket"); in main()
61 warnx("opened socket"); in main()
66 warnx("parent"); in main()
68 warnx("execpromise: \"%s\", child pledge: \"%s\"", in main()
71 warnx("execpromise: \"%s\"", argv[0]); in main()
/openbsd/src/regress/lib/libc/netdb/
Dnetdb.c22 warnx("%d proto struct is NULL", n); in checkp()
27 warnx("%d proto num mismatch %d %d", n, p->p_proto, proto); in checkp()
31 warnx("%d proto name mismatch %s %s", n, p->p_name, name); in checkp()
39 warnx("%d proto alias mismatch %s %s", n, in checkp()
47 warnx("%d proto alias list does not end with NULL", n); in checkp()
63 warnx("%d serv struct is NULL", n); in checks()
68 warnx("%d port num mismatch %d %d", n, s->s_port, port); in checks()
72 warnx("%d serv name mismatch %s %s", n, s->s_name, name); in checks()
76 warnx("%d serv proto mismatch %s %s", n, s->s_proto, proto); in checks()
84 warnx("%d serv alias mismatch %s %s", n, in checks()
[all …]
/openbsd/src/bin/ps/
Dnlist.c88 warnx("fscale: %s", kvm_geterr(kd)); in donlist()
92 warnx("physmem: %s", kvm_geterr(kd)); in donlist()
96 warnx("ccpu: %s", kvm_geterr(kd)); in donlist()
100 warnx("maxslp: %s", kvm_geterr(kd)); in donlist()
108 warnx("fscale: failed to get kern.fscale"); in donlist()
115 warnx("physmem: failed to get hw.physmem"); in donlist()
124 warnx("ccpu: failed to get kern.ccpu"); in donlist()
131 warnx("maxslp: failed to get vm.maxslp"); in donlist()
/openbsd/src/usr.bin/mandoc/
Ddbm_map.c60 warnx("dbm_map(%s): File too short", fname); in dbm_map()
74 warnx("dbm_map(%s): " in dbm_map()
78 warnx("dbm_map(%s): " in dbm_map()
86 warnx("dbm_map(%s): Bad version number %d (expected %d)", in dbm_map()
93 warnx("dbm_map(%s): Inconsistent file size %lld (expected %d)", in dbm_map()
103 warnx("dbm_map(%s): Bad final magic %x (expected %x)", in dbm_map()
137 warnx("dbm_get: Database corrupt: offset %d", offset); in dbm_get()
141 warnx("dbm_get: Database corrupt: offset %d > %d", in dbm_get()
/openbsd/src/regress/sys/netinet/in_pcbbind/
Druntest.c86 warnx("%s : trying to join multicast group in unknown AF", in runtest()
100 warnx("bind(%s,%s,%s) succeeded, expected : %s", ai->ai_canonname, in runtest()
131 warnx("%s : test #%d failed", __func__, 1); in unicast_testsuite()
140 warnx("%s : test #%d failed", __func__, 2); in unicast_testsuite()
150 warnx("%s : test #%d failed", __func__, 3); in unicast_testsuite()
160 warnx("%s : test #%d failed", __func__, 4); in unicast_testsuite()
169 warnx("%s : test #%d failed", __func__, 5); in unicast_testsuite()
178 warnx("%s : test #%d failed", __func__, 6); in unicast_testsuite()
199 warnx("%s : test #%d failed", __func__, 1); in mcast_reuse_testsuite()
210 warnx("%s : test #%d failed", __func__, 2); in mcast_reuse_testsuite()
[all …]
/openbsd/src/usr.bin/rcs/
Dco.c79 warnx("invalid RCS keyword substitution mode"); in checkout_main()
85 warnx("warning: -u overridden by -l"); in checkout_main()
116 warnx("warning: -l overridden by -u"); in checkout_main()
149 warnx("no input file"); in checkout_main()
170 warnx("%s: cannot combine -kv and -l", fpath); in checkout_main()
260 warnx("invalid date: %s", date); in checkout_rev()
295 warnx("multiple revisions locked by %s; " in checkout_rev()
304 warnx("invalid date: %s", fdate); in checkout_rev()
340 warnx("Revision %s is already locked by %s; %s", in checkout_rev()
353 warnx("cannot find revision `%s'", buf); in checkout_rev()
[all …]
/openbsd/src/usr.sbin/makefs/msdos/
Dmkfs_msdos.c248 warnx("Cannot specify both block size and sectors per cluster"); in mkfs_msdos()
252 warnx("%s: bad OEM string", o.OEM_string); in mkfs_msdos()
260 warnx("failed to create %s", fname); in mkfs_msdos()
275 warnx("warning, %s is not a character device", fname); in mkfs_msdos()
279 warnx("cannot seek to %jd", (intmax_t)o.offset); in mkfs_msdos()
332 warnx("%s: bad volume label", o.volume_label); in mkfs_msdos()
346 warnx("Cannot specify info sector with FAT%u", o.fat_type); in mkfs_msdos()
350 warnx("Cannot specify backup sector with FAT%u", o.fat_type); in mkfs_msdos()
356 warnx("Cannot specify directory entries with FAT32"); in mkfs_msdos()
361 warnx("%d: bad FAT type", o.fat_type); in mkfs_msdos()
[all …]

12345678910>>...18