summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sshd.c b/sshd.c
index 60f63ef7b..2a28ece03 100644
--- a/sshd.c
+++ b/sshd.c
@@ -42,7 +42,7 @@
42 */ 42 */
43 43
44#include "includes.h" 44#include "includes.h"
45RCSID("$OpenBSD: sshd.c,v 1.301 2004/08/11 11:50:09 dtucker Exp $"); 45RCSID("$OpenBSD: sshd.c,v 1.302 2004/08/28 01:01:48 djm Exp $");
46 46
47#include <openssl/dh.h> 47#include <openssl/dh.h>
48#include <openssl/bn.h> 48#include <openssl/bn.h>
@@ -884,7 +884,7 @@ main(int ac, char **av)
884 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; 884 char ntop[NI_MAXHOST], strport[NI_MAXSERV];
885 char *line; 885 char *line;
886 int listen_sock, maxfd; 886 int listen_sock, maxfd;
887 int startup_p[2], config_s[2]; 887 int startup_p[2] = { -1 , -1 }, config_s[2] = { -1 , -1 };
888 int startups = 0; 888 int startups = 0;
889 Key *key; 889 Key *key;
890 Authctxt *authctxt; 890 Authctxt *authctxt;
@@ -1507,7 +1507,8 @@ main(int ac, char **av)
1507 sock_in = newsock; 1507 sock_in = newsock;
1508 sock_out = newsock; 1508 sock_out = newsock;
1509 log_init(__progname, options.log_level, options.log_facility, log_stderr); 1509 log_init(__progname, options.log_level, options.log_facility, log_stderr);
1510 close(config_s[0]); 1510 if (rexec_flag)
1511 close(config_s[0]);
1511 break; 1512 break;
1512 } 1513 }
1513 } 1514 }