mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-25 23:05:21 +02:00
cleanup diffs
This commit is contained in:
parent
dfc83f42eb
commit
7d6656c128
1
auth.c
1
auth.c
@ -58,7 +58,6 @@ allowed_user(struct passwd * pw)
|
|||||||
if (!pw)
|
if (!pw)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* deny if shell does not exists or is not executable */
|
|
||||||
/*
|
/*
|
||||||
* Get the shell from the password data. An empty shell field is
|
* Get the shell from the password data. An empty shell field is
|
||||||
* legal, and means /bin/sh.
|
* legal, and means /bin/sh.
|
||||||
|
@ -402,7 +402,9 @@ server_loop(pid_t pid, int fdin_arg, int fdout_arg, int fderr_arg)
|
|||||||
/* nonblocking IO */
|
/* nonblocking IO */
|
||||||
set_nonblock(fdin);
|
set_nonblock(fdin);
|
||||||
set_nonblock(fdout);
|
set_nonblock(fdout);
|
||||||
set_nonblock(fderr);
|
/* we don't have stderr for interactive terminal sessions, see below */
|
||||||
|
if (fderr != -1)
|
||||||
|
set_nonblock(fderr);
|
||||||
|
|
||||||
connection_in = packet_get_connection_in();
|
connection_in = packet_get_connection_in();
|
||||||
connection_out = packet_get_connection_out();
|
connection_out = packet_get_connection_out();
|
||||||
|
4
ssh.c
4
ssh.c
@ -11,7 +11,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$Id: ssh.c,v 1.31 2000/05/17 12:34:24 damien Exp $");
|
RCSID("$Id: ssh.c,v 1.32 2000/05/20 05:22:37 damien Exp $");
|
||||||
|
|
||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
#include <openssl/dsa.h>
|
#include <openssl/dsa.h>
|
||||||
@ -435,7 +435,7 @@ main(int ac, char **av)
|
|||||||
buffer_init(&command);
|
buffer_init(&command);
|
||||||
|
|
||||||
OpenSSL_add_all_algorithms();
|
OpenSSL_add_all_algorithms();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Save the command to execute on the remote host in a buffer. There
|
* Save the command to execute on the remote host in a buffer. There
|
||||||
* is no limit on the length of the command, except by the maximum
|
* is no limit on the length of the command, except by the maximum
|
||||||
|
Loading…
x
Reference in New Issue
Block a user