summaryrefslogtreecommitdiff
path: root/authfd.c
diff options
context:
space:
mode:
authordtucker <dtucker>2003-07-03 03:46:56 +0000
committerdtucker <dtucker>2003-07-03 03:46:56 +0000
commit9f1044478c91186c47c443ec202d20e5edf8ae3f (patch)
tree3f766d95051ece05391dd3adad4f19f148ddc61f /authfd.c
parent3ff59add707691893213388a591370ef930b6a96 (diff)
downloadopenssh-9f1044478c91186c47c443ec202d20e5edf8ae3f.tar.gz
- deraadt@cvs.openbsd.org 2003/06/28 16:23:06
[atomicio.c atomicio.h authfd.c clientloop.c monitor_wrap.c msg.c progressmeter.c scp.c sftp-client.c ssh-keyscan.c ssh.h sshconnect.c sshd.c] deal with typing of write vs read in atomicio
Diffstat (limited to 'authfd.c')
-rw-r--r--authfd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/authfd.c b/authfd.c
index 368544b1..c78db6d9 100644
--- a/authfd.c
+++ b/authfd.c
@@ -35,7 +35,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: authfd.c,v 1.60 2003/06/11 11:18:38 djm Exp $");
+RCSID("$OpenBSD: authfd.c,v 1.61 2003/06/28 16:23:06 deraadt Exp $");
#include <openssl/evp.h>
@@ -122,8 +122,8 @@ ssh_request_reply(AuthenticationConnection *auth, Buffer *request, Buffer *reply
PUT_32BIT(buf, len);
/* Send the length and then the packet to the agent. */
- if (atomicio(write, auth->fd, buf, 4) != 4 ||
- atomicio(write, auth->fd, buffer_ptr(request),
+ if (atomicio(vwrite, auth->fd, buf, 4) != 4 ||
+ atomicio(vwrite, auth->fd, buffer_ptr(request),
buffer_len(request)) != buffer_len(request)) {
error("Error writing to authentication socket.");
return 0;