Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 80) sorted by relevance

1234

/openssh-portable/
H A Dssh-sk-client.c74 error("socketpair: %s", strerror(errno)); in start_helper()
80 error("fork: %s", strerror(errno)); in start_helper()
90 error("%s: dup2: %s", __func__, ssh_err(r)); in start_helper()
99 error("%s: execlp: %s", __func__, strerror(errno)); in start_helper()
131 error("%s: helper exited abnormally", __func__); in reap_helper()
164 error("%s: build: %s", __func__, ssh_err(r)); in client_converse()
168 error("%s: send: %s", __func__, ssh_err(r)); in client_converse()
172 error("%s: receive: %s", __func__, ssh_err(r)); in client_converse()
262 error("%s: compose: %s", __func__, ssh_err(r)); in sshsk_sign()
337 error("%s: compose: %s", __func__, ssh_err(r)); in sshsk_enroll()
[all …]
H A Dsshsig.c57 error("%s: sshbuf_new failed", __func__); in sshsig_armor()
99 error("%s: sshbuf_fromb failed", __func__); in sshsig_dearmor()
132 error("%s: sshbuf_new() failed", __func__); in sshsig_dearmor()
168 error("%s: sshbuf_new failed", __func__); in sshsig_wrap_sign()
308 error("%s: sshbuf_new failed", __func__); in sshsig_wrap_verify()
335 error("Signature contains trailing data"); in sshsig_wrap_verify()
530 error("%s: ssh_digest_update: %s", in hash_file()
716 error("%s: strdup failed", __func__); in parse_principals_key_and_options()
736 error("%s: sshkey_new failed", __func__); in parse_principals_key_and_options()
907 error("%s: buffer error", __func__); in cert_filter_principals()
[all …]
H A Dsshconnect.c335 error("%s: v4 addr doesn't fit", in check_ifaddrs()
350 error("%s: v6 addr doesn't fit", in check_ifaddrs()
381 error("socket: %s", strerror(errno)); in ssh_create_socket()
403 error("getaddrinfo: no addrs"); in ssh_create_socket()
615 error("%s", reason); in check_host_cert()
953 error("impersonate this host."); in check_host_key()
998 error("Offending key for IP in %s:%lu", in check_host_key()
1005 error("Offending %s key in %s:%lu", in check_host_key()
1175 error("%s: fingerprint CA key: %s", in verify_host_key()
1217 error("Error checking host key %s %s in " in verify_host_key()
[all …]
H A Dssh-pkcs11.c87 error("%s: %s", __func__, msg); in ossl_error()
255 error("need pin entry%s", in pkcs11_login_slot()
369 error("login failed"); in pkcs11_get_key()
661 error("pin required"); in pkcs11_open_session()
754 error("EC_KEY_new failed"); in pkcs11_fetch_ecdsa_pubkey()
798 error("sshkey_new failed"); in pkcs11_fetch_ecdsa_pubkey()
875 error("RSA_new failed"); in pkcs11_fetch_rsa_pubkey()
882 error("BN_bin2bn failed"); in pkcs11_fetch_rsa_pubkey()
894 error("sshkey_new failed"); in pkcs11_fetch_rsa_pubkey()
985 error("d2i_x509 failed"); in pkcs11_fetch_x509_pubkey()
[all …]
H A Dmonitor_fdpass.c96 error("%s: sendmsg(%d): %s", __func__, fd, in mm_send_fd()
102 error("%s: sendmsg: expected sent 1 got %zd", __func__, n); in mm_send_fd()
107 error("%s: file descriptor passing not supported", __func__); in mm_send_fd()
152 error("%s: recvmsg: %s", __func__, strerror(errno)); in mm_receive_fd()
157 error("%s: recvmsg: expected received 1 got %zd", __func__, n); in mm_receive_fd()
163 error("%s: no fd", __func__); in mm_receive_fd()
169 error("%s: no message header", __func__); in mm_receive_fd()
175 error("%s: expected type %d got %d", __func__, in mm_receive_fd()
184 error("%s: file descriptor passing not supported", __func__); in mm_receive_fd()
H A Dmsg.c55 error("%s: write: %s", __func__, strerror(errno)); in ssh_msg_send()
59 error("%s: write: %s", __func__, strerror(errno)); in ssh_msg_send()
76 error("%s: read header: %s", __func__, strerror(errno)); in ssh_msg_recv()
81 error("%s: read: bad msg_len %u", __func__, msg_len); in ssh_msg_recv()
86 error("%s: buffer error: %s", __func__, ssh_err(r)); in ssh_msg_recv()
90 error("%s: read: %s", __func__, strerror(errno)); in ssh_msg_recv()
H A Dssh-sk.c108 error("%s: calloc failed", __func__); in sshsk_open()
112 error("%s: strdup failed", __func__); in sshsk_open()
203 error("%s: sshkey_new failed", __func__); in sshsk_ecdsa_assemble()
211 error("%s: allocation failed", __func__); in sshsk_ecdsa_assemble()
232 error("%s: allocation failed", __func__); in sshsk_ecdsa_assemble()
261 error("%s: sshkey_new failed", __func__); in sshsk_ed25519_assemble()
266 error("%s: malloc failed", __func__); in sshsk_ed25519_assemble()
383 error("%s: alloc failed", __func__); in sshsk_add_option()
388 error("%s: alloc failed", __func__); in sshsk_add_option()
492 error("%s: missing provider", __func__); in sshsk_enroll()
[all …]
H A Dsshpty.c72 error("openpty: %.100s", strerror(errno)); in pty_allocate()
90 error("chown %.100s 0 0 failed: %.100s", tty, strerror(errno)); in pty_release()
92 error("chmod %.100s 0666 failed: %.100s", tty, strerror(errno)); in pty_release()
112 error("setsid: %.100s", strerror(errno)); in pty_make_controlling_tty()
120 error("Failed to disconnect from controlling tty."); in pty_make_controlling_tty()
127 error("ioctl(TIOCSCTTY): %.100s", strerror(errno)); in pty_make_controlling_tty()
131 error("SETPGRP %s",strerror(errno)); in pty_make_controlling_tty()
135 error("%.100s: %.100s", tty, strerror(errno)); in pty_make_controlling_tty()
142 error("open /dev/tty failed - could not set controlling tty: %.100s", in pty_make_controlling_tty()
H A Dkex.c539 error("%s: no hex", __func__); in kex_send_kexinit()
553 error("%s: buffer error", __func__); in kex_send_kexinit()
581 error("%s: no hex", __func__); in kex_input_kexinit()
742 error("%s: no kex", __func__); in kex_start_rekex()
746 error("%s: requested twice", __func__); in kex_start_rekex()
1021 error("%s: KEX hash failed", __func__); in derive_key()
1038 error("%s: KDF failed", __func__); in derive_key()
1240 error("%s: %s", in kex_exchange_identification()
1256 error("%s: read: %.100s", in kex_exchange_identification()
1274 error("%s: sshbuf_put: %s", in kex_exchange_identification()
[all …]
H A Dsftp-client.c277 error("%s: %s", errmsg, fx2txt(status)); in get_handle()
630 error("%s: couldn't decode attrib: %s", in do_lsreaddir()
646 error("Server sent suspect path \"%s\" " in do_lsreaddir()
1443 error("ftruncate \"%s\": %s", local_path, in do_download()
1476 error("Can't set times on \"%s\": %s", in do_download()
1484 error("Couldn't sync file \"%s\": %s", in do_download()
1516 error("\"%s\" is not a directory", src); in download_dir_internal()
1559 error("Download of file %s to %s failed", in download_dir_internal()
1577 error("Can't set times on \"%s\": %s", in download_dir_internal()
1846 error("Couldn't stat directory \"%s\": %s", in upload_dir_internal()
[all …]
H A Ddh.c75 error("moduli:%d: type is not %d", linenum, MODULI_TYPE_SAFE); in parse_prime()
85 error("moduli:%d: invalid moduli tests flag", linenum); in parse_prime()
93 error("moduli:%d: invalid primality trial count", linenum); in parse_prime()
100 error("moduli:%d: invalid prime length", linenum); in parse_prime()
111 error("moduli:%d: truncated", linenum); in parse_prime()
117 error("parse_prime: BN_new failed"); in parse_prime()
121 error("moduli:%d: could not parse generator value", linenum); in parse_prime()
125 error("moduli:%d: could not parse prime value", linenum); in parse_prime()
129 error("moduli:%d: prime has wrong size: actual %d listed %d", in parse_prime()
134 error("moduli:%d: generator is invalid", linenum); in parse_prime()
[all …]
H A Dssh-agent.c261 error("%s: put key/comment: %s", __func__, in process_request_identities()
538 error("%s: bad lifetime constraint: %s", in process_add_identity()
549 error("%s: bad maxsign constraint: %s", in process_add_identity()
554 error("%s: cannot enable maxsign: %s", in process_add_identity()
562 error("%s: cannot parse extension: %s", in process_add_identity()
569 error("%s already set", ext_name); in process_add_identity()
574 error("%s: cannot parse %s: %s", in process_add_identity()
617 error("Refusing add key: " in process_add_identity()
754 error("%s: buffer error: %s", in process_add_smartcard_key()
951 error("Unknown message %d", type); in process_message()
[all …]
H A Dnchan.c118 error("channel %d: chan_read_failed for istate %d", in chan_read_failed()
129 error("channel %d: chan_ibuf_empty for non empty buffer", in chan_ibuf_empty()
140 error("channel %d: chan_ibuf_empty for istate %d", in chan_ibuf_empty()
151 error("channel %d: chan_obuf_empty for non empty buffer", in chan_obuf_empty()
161 error("channel %d: internal error: obuf_empty for ostate %d", in chan_obuf_empty()
197 error("channel %d: cannot send eof for istate %d", in chan_send_eof2()
214 error("channel %d: already sent close", c->self); in chan_send_close2()
234 error("channel %d: must not sent eow on closed output", in chan_send_eow2()
271 error("channel %d: protocol error: close rcvd twice", in chan_rcvd_oclose()
318 error("channel %d: chan_write_failed for ostate %d", in chan_write_failed()
[all …]
H A Dssh-pkcs11-client.c66 error("write to helper failed"); in send_msg()
79 error("read from helper failed: %u", len); in recv_msg()
92 error("response from helper failed."); in recv_msg()
130 error("%s: sshkey_new failed", __func__); in rsa_encrypt()
137 error("%s: sshkey_to_blob: %s", __func__, ssh_err(r)); in rsa_encrypt()
181 error("%s: couldn't get curve nid", __func__); in ecdsa_do_sign()
187 error("%s: sshkey_new failed", __func__); in ecdsa_do_sign()
196 error("%s: sshkey_to_blob: %s", __func__, ssh_err(r)); in ecdsa_do_sign()
281 error("pkcs11_start_helper_methods failed"); in pkcs11_start_helper()
286 error("socketpair: %s", strerror(errno)); in pkcs11_start_helper()
[all …]
H A Dentropy.c120 error("Couldn't create socket: %s", strerror(errno)); in get_random_bytes_prngd()
126 error("Couldn't connect to PRNGD port %d: %s", in get_random_bytes_prngd()
129 error("Couldn't connect to PRNGD socket \"%s\": %s", in get_random_bytes_prngd()
145 error("Couldn't write to PRNGD socket: %s", in get_random_bytes_prngd()
156 error("Couldn't read from PRNGD socket: %s", in get_random_bytes_prngd()
193 error("Couldn't obtain random bytes (error %ld)", in rexec_send_rng_seed()
H A Dauth.c871 error("%s: inconsistent flags", __func__); in subprocess()
884 error("%s path is not absolute", tag); in subprocess()
889 error("Could not stat %s \"%s\": %s", tag, in subprocess()
901 error("%s: pipe: %s", tag, strerror(errno)); in subprocess()
909 error("%s: fork: %s", tag, strerror(errno)); in subprocess()
928 error("%s: open %s: %s", tag, _PATH_DEVNULL, in subprocess()
933 error("%s: dup2: %s", tag, strerror(errno)); in subprocess()
944 error("%s: dup2: %s", tag, strerror(errno)); in subprocess()
963 error("%s: dup2: %s", tag, strerror(errno)); in subprocess()
978 error("%s: fdopen: %s", tag, strerror(errno)); in subprocess()
[all …]
H A Dauth2-pubkey.c136 error("%s: cannot decode key: %s", __func__, pkalg); in userauth_pubkey()
140 error("%s: type mismatch for decoded key " in userauth_pubkey()
232 error("public key %s signature for %s%s from " in userauth_pubkey()
247 error("public key %s signature for %s%s from " in userauth_pubkey()
492 error("AuthorizedPrincipalsCommand \"%s\" contains " in match_principals_command()
503 error("%s: sshkey_fingerprint failed", __func__); in match_principals_command()
508 error("%s: sshkey_fingerprint failed", __func__); in match_principals_command()
710 error("%s", reason); in check_authkey_line()
832 error("%s", reason); in user_cert_trusted_ca()
923 error("AuthorizedKeysCommandUser \"%s\" not found: %s", in user_key_command_allowed2()
[all …]
H A Dssh-pkcs11-helper.c204 error("%s: sshkey_from_blob: %s", __func__, ssh_err(r)); in process_sign()
230 error("%s: ECDSA_sign" in process_sign()
235 error("%s: don't know how to sign with key " in process_sign()
274 error("bad message len %d", msg_len); in process()
297 error("Unknown message %d", type); in process()
302 error("iqueue grew unexpectedly"); in process()
307 error("msg_len %d < consumed %d", msg_len, consumed); in process()
400 error("read: %s", strerror(errno)); in main()
412 error("write: %s", strerror(errno)); in main()
H A Dreadpass.c61 error("%s: fflush: %s", __func__, strerror(errno)); in ssh_askpass()
65 error("%s: pipe: %s", __func__, strerror(errno)); in ssh_askpass()
70 error("%s: fork: %s", __func__, strerror(errno)); in ssh_askpass()
246 error("%s: fflush: %s", __func__, strerror(errno)); in notify_start()
267 error("%s: fork: %s", __func__, strerror(errno)); in notify_start()
281 error("%s: exec(%s): %s", __func__, askpass, strerror(errno)); in notify_start()
/openssh-portable/openbsd-compat/
H A Dstrtonum.c39 int error = 0; in strtonum() local
53 error = INVALID; in strtonum()
57 error = INVALID; in strtonum()
59 error = TOOSMALL; in strtonum()
61 error = TOOLARGE; in strtonum()
64 *errstrp = ev[error].errstr; in strtonum()
65 errno = ev[error].err; in strtonum()
66 if (error) in strtonum()
H A Dport-solaris.c54 error("%s: Error opening 'latest' process " in get_active_process_contract_id()
59 error("%s: Error reading process contract " in get_active_process_contract_id()
64 error("%s: Error getting process contract id: %s", in get_active_process_contract_id()
79 error("%s: open %s: %s", __func__, in solaris_contract_pre_fork()
94 error("%s: Error setting process contract template " in solaris_contract_pre_fork()
111 error("%s: Error activating process contract " in solaris_contract_pre_fork()
132 error("%s: Error clearing active process contract " in solaris_contract_post_fork_child()
175 error("%s: Error opening process contract " in solaris_contract_post_fork_parent()
180 error("%s: Error abandoning process contract: %s", in solaris_contract_post_fork_parent()
241 error("priv_allocset: %s", strerror(errno)); in solaris_basic_privset()
[all …]
H A Dbindresvport.c55 int error, af; in bindresvport_sa() local
96 error = -1; in bindresvport_sa()
101 error = bind(sd, sa, salen); in bindresvport_sa()
104 if (error == 0) in bindresvport_sa()
108 if ((error < 0) && !((errno == EADDRINUSE) || (errno == EINVAL))) in bindresvport_sa()
116 return (error); in bindresvport_sa()
H A Dbsd-setres_id.c40 error("setregid %lu: %.100s", (u_long)rgid, strerror(errno)); in setresgid()
47 error("setegid %lu: %.100s", (u_long)egid, strerror(errno)); in setresgid()
53 error("setgid %lu: %.100s", (u_long)rgid, strerror(errno)); in setresgid()
75 error("setreuid %lu: %.100s", (u_long)ruid, strerror(errno)); in setresuid()
84 error("seteuid %lu: %.100s", (u_long)euid, strerror(errno)); in setresuid()
91 error("setuid %lu: %.100s", (u_long)ruid, strerror(errno)); in setresuid()
H A Dport-linux.c85 error("%s: Failed to get default SELinux security " in ssh_selinux_getctxbyname()
121 error("%s: Failed to set SELinux execution " in ssh_selinux_setup_exec_context()
154 error("%s: getfilecon: %s", __func__, strerror(errno)); in ssh_selinux_setup_pty()
158 error("%s: couldn't get security class for chr_file", __func__); in ssh_selinux_setup_pty()
163 error("%s: security_compute_relabel: %s", in ssh_selinux_setup_pty()
169 error("%s: setfilecon: %s", __func__, strerror(errno)); in ssh_selinux_setup_pty()
H A Dmktemp.c135 int error; in mkdtemp() local
137 error = mktemp_internal(path, 0, MKTEMP_DIR); in mkdtemp()
138 return(error ? NULL : path); in mkdtemp()

Completed in 53 milliseconds

1234