summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-05-20 15:22:36 +1000
committerDamien Miller <djm@mindrot.org>2000-05-20 15:22:36 +1000
commit7d6656c1283f46d9cdbba707ea2373af3d994585 (patch)
tree3bfb2579c72abe93e737802cf8dd3f97b747811a
parentdfc83f42eba83d6dd127ce36fb33a490163c32de (diff)
cleanup diffs
-rw-r--r--auth.c1
-rw-r--r--serverloop.c4
-rw-r--r--ssh.c4
3 files changed, 5 insertions, 4 deletions
diff --git a/auth.c b/auth.c
index c3baa962f..0a58df58b 100644
--- a/auth.c
+++ b/auth.c
@@ -58,7 +58,6 @@ allowed_user(struct passwd * pw)
58 if (!pw) 58 if (!pw)
59 return 0; 59 return 0;
60 60
61 /* deny if shell does not exists or is not executable */
62 /* 61 /*
63 * Get the shell from the password data. An empty shell field is 62 * Get the shell from the password data. An empty shell field is
64 * legal, and means /bin/sh. 63 * legal, and means /bin/sh.
diff --git a/serverloop.c b/serverloop.c
index 79bdf77ba..58e901de8 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -402,7 +402,9 @@ server_loop(pid_t pid, int fdin_arg, int fdout_arg, int fderr_arg)
402 /* nonblocking IO */ 402 /* nonblocking IO */
403 set_nonblock(fdin); 403 set_nonblock(fdin);
404 set_nonblock(fdout); 404 set_nonblock(fdout);
405 set_nonblock(fderr); 405 /* we don't have stderr for interactive terminal sessions, see below */
406 if (fderr != -1)
407 set_nonblock(fderr);
406 408
407 connection_in = packet_get_connection_in(); 409 connection_in = packet_get_connection_in();
408 connection_out = packet_get_connection_out(); 410 connection_out = packet_get_connection_out();
diff --git a/ssh.c b/ssh.c
index bf4f8b1c6..1cc8dbbf3 100644
--- a/ssh.c
+++ b/ssh.c
@@ -11,7 +11,7 @@
11 */ 11 */
12 12
13#include "includes.h" 13#include "includes.h"
14RCSID("$Id: ssh.c,v 1.31 2000/05/17 12:34:24 damien Exp $"); 14RCSID("$Id: ssh.c,v 1.32 2000/05/20 05:22:37 damien Exp $");
15 15
16#include <openssl/evp.h> 16#include <openssl/evp.h>
17#include <openssl/dsa.h> 17#include <openssl/dsa.h>
@@ -435,7 +435,7 @@ main(int ac, char **av)
435 buffer_init(&command); 435 buffer_init(&command);
436 436
437 OpenSSL_add_all_algorithms(); 437 OpenSSL_add_all_algorithms();
438 438
439 /* 439 /*
440 * Save the command to execute on the remote host in a buffer. There 440 * Save the command to execute on the remote host in a buffer. There
441 * is no limit on the length of the command, except by the maximum 441 * is no limit on the length of the command, except by the maximum