From a8068249cbc0319c36fc272c22b98139e2f2945f Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Mon, 27 Jun 2016 10:33:57 +0200 Subject: [PATCH] Bad condition for UseLogin check (#1350347) --- openssh-7.2p2-UsePAM-UseLogin-warning.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssh-7.2p2-UsePAM-UseLogin-warning.patch b/openssh-7.2p2-UsePAM-UseLogin-warning.patch index bf1999b..9d01df9 100644 --- a/openssh-7.2p2-UsePAM-UseLogin-warning.patch +++ b/openssh-7.2p2-UsePAM-UseLogin-warning.patch @@ -6,7 +6,7 @@ diff --git a/sshd.c b/sshd.c &cfg, NULL); + /* 'UseLogin yes' is not supported in Fedora */ -+ if (options.use_login) ++ if (options.use_login == 1) + logit("WARNING: 'UseLogin yes' is not supported in Fedora and may cause several problems."); + + /* 'UsePAM no' is not supported in Fedora */