version 1.265, 2013/05/17 00:13:14 |
version 1.266, 2013/07/19 07:37:48 |
|
|
#include "hostfile.h" |
#include "hostfile.h" |
#include "auth.h" |
#include "auth.h" |
#include "auth-options.h" |
#include "auth-options.h" |
|
#include "authfd.h" |
#include "pathnames.h" |
#include "pathnames.h" |
#include "log.h" |
#include "log.h" |
#include "servconf.h" |
#include "servconf.h" |
|
|
static void |
static void |
child_close_fds(void) |
child_close_fds(void) |
{ |
{ |
|
extern AuthenticationConnection *auth_conn; |
|
|
|
if (auth_conn) { |
|
ssh_close_authentication_connection(auth_conn); |
|
auth_conn = NULL; |
|
} |
|
|
if (packet_get_connection_in() == packet_get_connection_out()) |
if (packet_get_connection_in() == packet_get_connection_out()) |
close(packet_get_connection_in()); |
close(packet_get_connection_in()); |
else { |
else { |