Home
last modified time | relevance | path

Searched refs:fatal (Results 1 – 25 of 1102) sorted by relevance

12345678910>>...45

/openbsd-src/regress/lib/libcrypto/pkcs7/
H A Dpkcs7test.c103 fatal(const char *msg) in fatal() function
148 fatal("cipher"); in main()
152 fatal("sk_X509_new_null"); in main()
156 fatal("BIO_new_mem_buf certificate"); in main()
160 fatal("PEM_read_bio_X509_AUX"); in main()
165 fatal("X509_STORE_new"); in main()
170 fatal("BIO_new_mem_buf private_key"); in main()
174 fatal("PEM_read_bio_PrivateKey"); in main()
178 fatal("BIO_new_mem_buf message"); in main()
184 fatal("BIO_reset"); in main()
[all …]
/openbsd-src/regress/usr.bin/ssh/
H A Dlimit-keytype.sh28 fatal "ssh-keygen failed"
32 fatal "ssh-keygen failed"
34 fatal "ssh-keygen failed"
36 fatal "ssh-keygen failed"
38 fatal "ssh-keygen failed"
40 fatal "ssh-keygen failed"
42 fatal "ssh-keygen failed"
45 fatal "couldn't sign user_key1"
88 ${SSH} $certopts proxy true || fatal "cert failed"
89 ${SSH} $opts -i $OBJ/user_key1 proxy true || fatal "key1 failed"
[all …]
H A Dcert-file.sh11 fatal "ssh-keygen failed"
13 fatal "ssh-keygen failed"
17 fatal "ssh-keygen failed"
19 fatal "ssh-keygen failed"
21 fatal "ssh-keygen failed"
23 fatal "ssh-keygen failed"
25 fatal "ssh-keygen failed"
31 fatal "couldn't sign user_key1 with user_ca_key1"
35 fatal "couldn't sign user_key1 with user_ca_key2"
39 fatal "couldn't sign user_key3 with user_ca_key1"
[all …]
H A Dagent-pkcs11-restrict.sh15 fatal "ssh-keygen hostkey failed"
44 fatal "ssh-add -l did not fail with exit code 1 (got $r)"
122 $SSHADD -qD >/dev/null || fatal "clear agent failed"
124 fatal "failed to add keys"
133 host_$h true > $OBJ/ssh_output || fatal "test ssh $h failed"
134 cmp $OBJ/expect_$h $OBJ/ssh_output || fatal "unexpected output"
138 $SSHADD -qD >/dev/null || fatal "clear agent failed"
140 fatal "failed to add keys"
144 host_$h true > $OBJ/ssh_output && fatal "test ssh $h succeeded"
148 $SSHADD -qD >/dev/null || fatal "clear agent failed"
[all …]
H A Dkrl.sh27 fatal "$SSHKEYGEN CA failed"
29 fatal "$SSHKEYGEN CA2 failed"
78 || fatal "$SSHKEYGEN failed"
81 || fatal "$SSHKEYGEN sign failed"
113 >/dev/null || fatal "$SSHKEYGEN KRL failed"
115 >/dev/null || fatal "$SSHKEYGEN KRL failed"
117 >/dev/null || fatal "$SSHKEYGEN KRL failed"
119 >/dev/null || fatal "$SSHKEYGEN KRL failed"
121 >/dev/null || fatal "$SSHKEYGEN KRL failed"
123 >/dev/null 2>&1 || fatal "$SSHKEYGEN KRL failed"
[all …]
/openbsd-src/usr.bin/cvs/
H A Dserver.c99 fatal("server does not take any extra arguments"); in cvs_server()
116 fatal("failed to create temporary server directory: %s, %s", in cvs_server()
120 fatal("failed to change directory to '%s'", cvs_server_path); in cvs_server()
130 fatal("request '%s' is not supported by our server", in cvs_server()
134 fatal("opencvs server does not support '%s'", cmd); in cvs_server()
137 fatal("`%s' needs a directory to be sent with " in cvs_server()
158 fatal("cvs_server_send_response: could not allocate memory"); in cvs_server_send_response()
169 fatal("Missing argument for Root"); in cvs_server_root()
175 fatal("Invalid Root specified!"); in cvs_server_root()
190 fatal("Missing argument for Valid-responses"); in cvs_server_validresp()
[all …]
H A Dclient.c179 fatal("client_check_directory: truncation"); in client_check_directory()
181 fatal("client_check_directory: overflow"); in client_check_directory()
184 fatal("client_check_directory: truncation"); in client_check_directory()
186 fatal("client_check_directory: overflow"); in client_check_directory()
209 fatal("cvs_client_connect: I was already connected to server"); in cvs_client_connect_to_server()
216 fatal("the specified connection method is not supported"); in cvs_client_connect_to_server()
222 fatal("cvs_client_connect: %s", strerror(errno)); in cvs_client_connect_to_server()
224 fatal("cvs_client_connect: %s", strerror(errno)); in cvs_client_connect_to_server()
228 fatal("cvs_client_connect: fork failed: %s", strerror(errno)); in cvs_client_connect_to_server()
231 fatal("cvs_client_connect: %s", strerror(errno)); in cvs_client_connect_to_server()
[all …]
H A Dutil.c103 fatal("cvs_strtomode: string truncation"); in cvs_strtomode()
116 fatal("failed to scan mode string `%s'", sp); in cvs_strtomode()
133 fatal("invalid permission bit `%c'", *sp); in cvs_strtomode()
166 fatal("cvs_modetostr: overflow for user mode"); in cvs_modetostr()
169 fatal("cvs_modetostr: string truncation"); in cvs_modetostr()
175 fatal("cvs_modetostr: string truncation"); in cvs_modetostr()
180 fatal("cvs_modetostr: overflow for group mode"); in cvs_modetostr()
183 fatal("cvs_modetostr: string truncation"); in cvs_modetostr()
189 fatal("cvs_modetostr: string truncation"); in cvs_modetostr()
194 fatal("cvs_modetostr: overflow for others mode"); in cvs_modetostr()
[all …]
H A Dxmalloc.c32 fatal("xmalloc: zero size"); in xmalloc()
35 fatal("xmalloc: allocating %zu bytes: %s", in xmalloc()
46 fatal("xcalloc: zero size"); in xcalloc()
49 fatal("xcalloc: allocating %zu * %zu bytes: %s", in xcalloc()
60 fatal("xreallocarray: zero size"); in xreallocarray()
63 fatal("xreallocarray: allocating %zu * %zu bytes: %s", in xreallocarray()
74 fatal("xstrdup: %s", strerror(errno)); in xstrdup()
89 fatal("xasprintf: %s", strerror(errno)); in xasprintf()
101 fatal("xsnprintf: len > INT_MAX"); in xsnprintf()
108 fatal("xsnprintf: overflow"); in xsnprintf()
H A Dimport.c89 fatal("%s", cvs_cmd_import.cmd_synopsis); in cvs_import()
96 fatal("%s", cvs_cmd_import.cmd_synopsis); in cvs_import()
105 fatal("%s", cvs_cmd_import.cmd_synopsis); in cvs_import()
116 fatal("invalid symbol: %s", vendor_tag); in cvs_import()
120 fatal("invalid symbol: %s", release_tags[i]); in cvs_import()
125 fatal("no log message specified"); in cvs_import()
207 fatal("import_printf: could not allocate memory"); in import_printf()
249 fatal("cvs_import_local: %s: %s", cf->file_rpath, in cvs_import_local()
276 fatal("Can't get working directory"); in import_loginfo()
325 fatal("import_new: %s", strerror(errno)); in import_new()
[all …]
H A Dremote.c79 fatal("failed to write to log file"); in cvs_remote_output()
99 fatal("received signal %d", sig_received); in cvs_remote_input()
106 fatal("the connection has been closed by the server"); in cvs_remote_input()
122 fatal("failed to write to log file"); in cvs_remote_input()
147 fatal("error receiving file"); in cvs_remote_receive_file()
150 fatal("failed to write %zu bytes", nread); in cvs_remote_receive_file()
155 fatal("failed to write to log file"); in cvs_remote_receive_file()
178 fatal("cvs_remote_send_file: dup: %s", strerror(errno)); in cvs_remote_send_file()
181 fatal("cvs_remote_send_file: %s: lseek: %s", path, in cvs_remote_send_file()
185 fatal("cvs_remote_send_file: %s: fstat: %s", path, in cvs_remote_send_file()
[all …]
H A Dlogmsg.c51 fatal("cvs_logmsg_read: open %s", strerror(errno)); in cvs_logmsg_read()
54 fatal("cvs_logmsg_read: fstat %s", strerror(errno)); in cvs_logmsg_read()
57 fatal("cvs_logmsg_read: file is not a regular file"); in cvs_logmsg_read()
60 fatal("cvs_logmsg_read: fdopen %s", strerror(errno)); in cvs_logmsg_read()
63 fatal("cvs_logmsg_read: %s: file size too big", path); in cvs_logmsg_read()
116 fatal("cvs_logmsg_create: mkstemp %s", strerror(errno)); in cvs_logmsg_create()
123 fatal("cvs_logmsg_create: fdopen %s", strerror(saved_errno)); in cvs_logmsg_create()
135 fatal("cvs_logmsg_create: open %s", in cvs_logmsg_create()
138 fatal("cvs_logmsg_create: fstat %s", in cvs_logmsg_create()
141 fatal("cvs_logmsg_create: file is not a " in cvs_logmsg_create()
[all …]
H A Dedit.c99 fatal("%s", cvs_cmd_edit.cmd_synopsis); in cvs_edit()
108 fatal("%s", cvs_cmd_edit.cmd_synopsis); in cvs_edit()
116 fatal("%s", cvs_cmd_edit.cmd_synopsis); in cvs_edit()
166 fatal("%s", cvs_cmd_editors.cmd_synopsis); in cvs_editors()
174 fatal("%s", cvs_cmd_editors.cmd_synopsis); in cvs_editors()
221 fatal("%s", cvs_cmd_unedit.cmd_synopsis); in cvs_unedit()
229 fatal("%s", cvs_cmd_unedit.cmd_synopsis); in cvs_unedit()
275 fatal("cvs_edit_local: fopen: `%s': %s", in cvs_edit_local()
284 fatal("gethostname failed"); in cvs_edit_local()
287 fatal("getcwd failed"); in cvs_edit_local()
[all …]
H A Drepository.c63 fatal("received signal %d", sig_received); in cvs_repository_lock()
72 fatal("cvs_repository_lock: %s", strerror(errno)); in cvs_repository_lock()
80 fatal("maximum wait time for lock inside '%s' reached", repo); in cvs_repository_lock()
87 fatal("cvs_repository_lock: somebody beat us"); in cvs_repository_lock()
89 fatal("cvs_repository_lock: %s: %s", in cvs_repository_lock()
108 fatal("cvs_repository_getdir: failed to open '%s'", dir); in cvs_repository_getdir()
135 fatal("'%s': %s", rpath, strerror(errno)); in cvs_repository_getdir()
145 fatal("Unknown file type in repository"); in cvs_repository_getdir()
156 fatal("Unknown file type in repository"); in cvs_repository_getdir()
184 fatal("type %d unknown, shouldn't happen", type); in cvs_repository_getdir()
H A Droot.c80 fatal("failed to parse CVSROOT: unterminated method"); in cvsroot_parse()
91 fatal("cvsroot_parse: unknown method `%s'", sp); in cvsroot_parse()
96 fatal("no path specification in CVSROOT"); in cvsroot_parse()
108 fatal("missing host/path delimiter in CVSROOT"); in cvsroot_parse()
136 fatal("port specification in CVSROOT is %s", errstr); in cvsroot_parse()
191 fatal("cvsroot_get: fopen: `%s': %s", in cvsroot_get()
197 fatal("cvsroot_get: fgets: `%s'", CVS_PATH_ROOTSPEC); in cvsroot_get()
212 fatal("cvsroot_is_local: no CVSROOT"); in cvsroot_is_local()
221 fatal("cvsroot_is_remote: no CVSROOT"); in cvsroot_is_remote()
/openbsd-src/usr.bin/ssh/
H A Duidswap.c67 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
72 fatal("initgroups: %s: %.100s", pw->pw_name, in temporarily_use_uid()
76 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
81 fatal("setgroups: %.100s", strerror(errno)); in temporarily_use_uid()
83 fatal("setegid %u: %.100s", (u_int)pw->pw_gid, in temporarily_use_uid()
86 fatal("seteuid %u: %.100s", (u_int)pw->pw_uid, in temporarily_use_uid()
102 fatal("restore_uid: temporarily_use_uid not effective"); in restore_uid()
106 fatal("seteuid %u: %.100s", (u_int)saved_euid, strerror(errno)); in restore_uid()
108 fatal("setgroups: %.100s", strerror(errno)); in restore_uid()
110 fatal("setegid %u: %.100s", (u_int)saved_egid, strerror(errno)); in restore_uid()
[all …]
H A Dxmalloc.c33 fatal("xmalloc: zero size"); in xmalloc()
36 fatal("xmalloc: out of memory (allocating %zu bytes)", size); in xmalloc()
46 fatal("xcalloc: zero size"); in xcalloc()
48 fatal("xcalloc: nmemb * size > SIZE_MAX"); in xcalloc()
51 fatal("xcalloc: out of memory (allocating %zu bytes)", in xcalloc()
63 fatal("xreallocarray: out of memory (%zu elements of %zu bytes)", in xreallocarray()
75 fatal("xrecallocarray: out of memory (%zu elements of %zu bytes)", in xrecallocarray()
98 fatal("xvasprintf: could not allocate memory"); in xvasprintf()
H A Dssh-keysign.c184 fatal("%s: pledge: %s", __progname, strerror(errno)); in main()
207 fatal("getpwuid failed"); in main()
222 fatal("ssh-keysign not enabled in %s", in main()
226 fatal("%s: pledge: %s", __progname, strerror(errno)); in main()
233 fatal("could not open any host key"); in main()
255 fatal("no hostkey found"); in main()
258 fatal("%s: sshbuf_new failed", __progname); in main()
260 fatal("%s: ssh_msg_recv failed", __progname); in main()
264 fatal("%s: bad version: received %d, expected %d", in main()
269 fatal("%s: bad fd = %d", __progname, fd); in main()
[all …]
H A Dssh-sk-helper.c69 fatal("%s: sshbuf_new failed", __progname); in reply_error()
72 fatal("%s: buffer error", __progname); in reply_error()
107 fatal("%s: trailing data in request", __progname); in process_sign()
112 fatal("%s: Unsupported key type %s", in process_sign()
129 fatal("%s: sshbuf_new failed", __progname); in process_sign()
157 fatal("%s: sshbuf_new failed", __progname); in process_enroll()
169 fatal("%s: trailing data in request", __progname); in process_enroll()
172 fatal("%s: bad type %u", __progname, type); in process_enroll()
188 fatal("%s: sshbuf_new failed", __progname); in process_enroll()
220 fatal("%s: sshbuf_new failed", __progname); in process_load_resident()
[all …]
H A Dssh-keygen.c176 fatal("unknown key type %s", key_type_name); in type_bits_valid()
202 fatal("Invalid DSA key length: must be 1024 bits"); in type_bits_valid()
206 fatal("Invalid RSA key length: minimum is %d bits", in type_bits_valid()
209 fatal("Invalid RSA key length: maximum is %d bits", in type_bits_valid()
214 fatal("Invalid ECDSA key length: valid lengths are " in type_bits_valid()
285 fatal("bad key type"); in ask_filename()
370 fatal("PEM_write_RSA_PUBKEY failed"); in do_convert_to_pkcs8()
375 fatal("PEM_write_DSA_PUBKEY failed"); in do_convert_to_pkcs8()
381 fatal("PEM_write_EC_PUBKEY failed"); in do_convert_to_pkcs8()
396 fatal("PEM_write_RSAPublicKe in do_convert_to_pem()
[all...]
/openbsd-src/regress/lib/libagentx/
H A Dmain.c164 fatal("agentx"); in main()
167 fatal("agentx_session"); in main()
169 fatal("agentx_context"); in main()
173 fatal("agentx_agentcaps"); in main()
176 fatal("agentx_region application"); in main()
180 fatal("agentx_object"); in main()
184 fatal("agentx_object"); in main()
195 fatal("agentx_object"); in main()
199 fatal("agentx_object"); in main()
203 fatal("agentx_object"); in main()
[all …]
/openbsd-src/usr.sbin/mrouted/
H A Dcfparse.y35 static void fatal(const char *fmt, ...)
117 fatal("phyints must appear before tunnels");
127 fatal("%s is not a configured interface",
141 fatal("Tunnel local address %s is not mine",
146 fatal("ioctl SIOCGIFFLAGS on %s",ffr.ifr_name);
148 fatal("Tunnel local address %s is a loopback interface",
152 fatal("Tunnel remote address %s is one of mine",
160 fatal("Duplicate tunnel to %s",
164 fatal("Unnecessary tunnel to %s",
169 fatal("too many vifs");
[all …]
/openbsd-src/sbin/newfs/
H A Dnewfs.c88 void fatal(const char *fmt, ...)
203 fatal("insane maxpartitions value %d", maxpartitions); in main()
216 fatal("%s: invalid ffs version", optarg); in main()
222 fatal("sector size invalid: %s", optarg); in main()
230 fatal("block size is %s: %s", errstr, optarg); in main()
235 fatal("fragments per cylinder group is %s: %s", in main()
241 fatal("blocks per file in a cylinder group is" in main()
248 fatal("fragment size is %s: %s", in main()
254 fatal("average file size is %s: %s", in main()
260 fatal("average files per dir is %s: %s", in main()
[all …]
/openbsd-src/usr.sbin/eigrpd/
H A Deigrpe.c82 fatal("inet_pton"); in eigrpe()
84 fatal("inet_pton"); in eigrpe()
89 fatal("error creating raw ipv4 socket"); in eigrpe()
93 fatal("if_set_ipv4_mcast_ttl"); in eigrpe()
95 fatal("if_set_ipv4_mcast_loop"); in eigrpe()
97 fatal("if_set_ipv4_recvif"); in eigrpe()
99 fatal("if_set_ipv4_hdrincl"); in eigrpe()
105 fatal("error creating raw ipv6 socket"); in eigrpe()
109 fatal("if_set_ipv6_mcast_loop"); in eigrpe()
111 fatal("if_set_ipv6_pktinf in eigrpe()
[all...]
/openbsd-src/usr.sbin/bgpd/
H A Drtr.c123 fatal("roa alloc"); in rtr_roa_insert()
148 fatal("aspa_set merge"); in aspa_set_entry()
172 fatal("aspa insert"); in rtr_aspa_insert()
196 fatal("getpwnam"); in rtr_main()
199 fatal("chroot"); in rtr_main()
201 fatal("chdir(\"/\")"); in rtr_main()
208 fatal("can't drop privileges"); in rtr_main()
211 fatal("pledge"); in rtr_main()
221 fatal(NULL); in rtr_main()
224 fatal(NUL in rtr_main()
[all...]

12345678910>>...45