summaryrefslogtreecommitdiff
path: root/authfd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-05 23:26:32 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-05 23:26:32 +0000
commita3700050ec681277bcdf76a02b0c2e304ff317c7 (patch)
tree6cd727ebf611f03b345783cb9d6d8d04e8f483bf /authfd.c
parenta6c20148f58e34a902512ffe5eee3279acaaa26b (diff)
- markus@cvs.openbsd.org 2001/04/05 10:42:57
[auth-chall.c authfd.c channels.c clientloop.c kex.c kexgex.c key.c mac.c packet.c serverloop.c sftp-client.c sftp-client.h sftp-glob.c sftp-glob.h sftp-int.c sftp-server.c sftp.c ssh-keygen.c sshconnect.c sshconnect2.c sshd.c] fix whitespace: unexpand + trailing spaces.
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 8613b9a52..3e1ef8182 100644
--- a/authfd.c
+++ b/authfd.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#include "includes.h" 37#include "includes.h"
38RCSID("$OpenBSD: authfd.c,v 1.38 2001/03/06 00:33:03 deraadt Exp $"); 38RCSID("$OpenBSD: authfd.c,v 1.39 2001/04/05 10:42:48 markus Exp $");
39 39
40#include <openssl/evp.h> 40#include <openssl/evp.h>
41 41
@@ -121,7 +121,7 @@ ssh_request_reply(AuthenticationConnection *auth, Buffer *request, Buffer *reply
121 while (len > 0) { 121 while (len > 0) {
122 l = read(auth->fd, buf + 4 - len, len); 122 l = read(auth->fd, buf + 4 - len, len);
123 if (l == -1 && (errno == EAGAIN || errno == EINTR)) 123 if (l == -1 && (errno == EAGAIN || errno == EINTR))
124 continue; 124 continue;
125 if (l <= 0) { 125 if (l <= 0) {
126 error("Error reading response length from authentication socket."); 126 error("Error reading response length from authentication socket.");
127 return 0; 127 return 0;
@@ -142,7 +142,7 @@ ssh_request_reply(AuthenticationConnection *auth, Buffer *request, Buffer *reply
142 l = sizeof(buf); 142 l = sizeof(buf);
143 l = read(auth->fd, buf, l); 143 l = read(auth->fd, buf, l);
144 if (l == -1 && (errno == EAGAIN || errno == EINTR)) 144 if (l == -1 && (errno == EAGAIN || errno == EINTR))
145 continue; 145 continue;
146 if (l <= 0) { 146 if (l <= 0) {
147 error("Error reading response from authentication socket."); 147 error("Error reading response from authentication socket.");
148 return 0; 148 return 0;