Return to ssh-pkcs11-client.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.9, 2018/07/09 20:39:28 | version 1.10, 2018/07/09 21:59:10 | ||
---|---|---|---|
|
|
||
POKE_U32(buf, mlen); | POKE_U32(buf, mlen); | ||
if (atomicio(vwrite, fd, buf, 4) != 4 || | if (atomicio(vwrite, fd, buf, 4) != 4 || | ||
atomicio(vwrite, fd, (u_char *)sshbuf_ptr(m), | atomicio(vwrite, fd, sshbuf_mutable_ptr(m), | ||
sshbuf_len(m)) != sshbuf_len(m)) | sshbuf_len(m)) != sshbuf_len(m)) | ||
error("write to helper failed"); | error("write to helper failed"); | ||
if ((r = sshbuf_consume(m, mlen)) != 0) | if ((r = sshbuf_consume(m, mlen)) != 0) |