Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dmux.c597 struct mux_channel_confirm_ctx *fctx = ctxt; in mux_confirm_remote_forward() local
605 if ((c = channel_by_id(ssh, fctx->cid)) == NULL) { in mux_confirm_remote_forward()
612 if (fctx->fid >= options.num_remote_forwards || in mux_confirm_remote_forward()
613 (options.remote_forwards[fctx->fid].connect_path == NULL && in mux_confirm_remote_forward()
614 options.remote_forwards[fctx->fid].connect_host == NULL)) { in mux_confirm_remote_forward()
615 xasprintf(&failmsg, "unknown forwarding id %d", fctx->fid); in mux_confirm_remote_forward()
618 rfwd = &options.remote_forwards[fctx->fid]; in mux_confirm_remote_forward()
638 (r = sshbuf_put_u32(out, fctx->rid)) != 0 || in mux_confirm_remote_forward()
645 reply_ok(out, fctx->rid); in mux_confirm_remote_forward()
671 reply_error(out, MUX_S_FAILURE, fctx->rid, failmsg); in mux_confirm_remote_forward()
[all …]
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_openssl.c1164 EVP_PKEY_CTX *fctx; in dh5_init_fixed()
1166 fctx = EVP_PKEY_CTX_new_from_name(NULL, "DH", NULL); in dh5_init_fixed()
1170 if (!fctx || !priv_key || !pub_key || !bld || in dh5_init_fixed()
1178 EVP_PKEY_fromdata_init(fctx) != 1 || in dh5_init_fixed()
1179 EVP_PKEY_fromdata(fctx, &pkey, EVP_PKEY_KEYPAIR, params) != 1) { in dh5_init_fixed()
1188 EVP_PKEY_CTX_free(fctx); in dh5_init_fixed()