From a8068249cbc0319c36fc272c22b98139e2f2945f Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Jun 27 2016 08:33:57 +0000 Subject: Bad condition for UseLogin check (#1350347) --- 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 */