parent
8f86d050ae
commit
8fed35dbe8
27
0028-Fix-logical-expression-in-eap_client_active-macro.patch
Normal file
27
0028-Fix-logical-expression-in-eap_client_active-macro.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From fcb95abad72ac043f2e5f5ddcffc42b0783a3c2d Mon Sep 17 00:00:00 2001
|
||||
From: Michal Sekletar <msekleta@redhat.com>
|
||||
Date: Wed, 10 Dec 2014 12:21:31 +0100
|
||||
Subject: [PATCH] Fix logical expression in eap_client_active macro
|
||||
|
||||
---
|
||||
pppd/eap.h | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/pppd/eap.h b/pppd/eap.h
|
||||
index 3fa5391..087baad 100644
|
||||
--- a/pppd/eap.h
|
||||
+++ b/pppd/eap.h
|
||||
@@ -110,8 +110,8 @@ enum eap_state_code {
|
||||
"SRP1", "SRP2", "SRP3", "MD5Chall", "Open", "SRP4", "BadAuth"
|
||||
|
||||
#ifdef USE_EAPTLS
|
||||
-#define eap_client_active(esp) ((esp)->es_client.ea_state != eapInitial ||\
|
||||
- (esp)->es_client.ea_state != eapPending ||\
|
||||
+#define eap_client_active(esp) ((esp)->es_client.ea_state != eapInitial &&\
|
||||
+ (esp)->es_client.ea_state != eapPending &&\
|
||||
(esp)->es_client.ea_state != eapClosed)
|
||||
#else
|
||||
#define eap_client_active(esp) ((esp)->es_client.ea_state == eapListen)
|
||||
--
|
||||
1.8.3.1
|
||||
|
6
ppp.spec
6
ppp.spec
@ -3,7 +3,7 @@
|
||||
Summary: The Point-to-Point Protocol daemon
|
||||
Name: ppp
|
||||
Version: 2.4.7
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: BSD and LGPLv2+ and GPLv2+ and Public Domain
|
||||
Group: System Environment/Daemons
|
||||
URL: http://www.samba.org/ppp
|
||||
@ -49,6 +49,7 @@ Patch0024: 0024-build-sys-install-pppoatm-plugin-files-with-standard.patch
|
||||
Patch0025: 0025-pppd-install-pppd-binary-using-standard-perms-755.patch
|
||||
Patch0026: 0026-Revert-pppd-rebase-EAP-TLS-patch-v0.994.patch
|
||||
Patch0027: 0027-pppd-EAP-TLS-patch-v0.997.patch
|
||||
Patch0028: 0028-Fix-logical-expression-in-eap_client_active-macro.patch
|
||||
|
||||
BuildRequires: pam-devel, libpcap-devel, openssl-devel, systemd, systemd-devel, glib2-devel
|
||||
Requires: glibc >= 2.0.6, /etc/pam.d/system-auth, libpcap >= 14:0.8.3-6, systemd, initscripts >= 9.54
|
||||
@ -167,6 +168,9 @@ install -p %{SOURCE11} %{buildroot}%{_sysconfdir}/sysconfig/network-scripts/ifdo
|
||||
%doc PLUGINS
|
||||
|
||||
%changelog
|
||||
* Wed Dec 10 2014 Michal Sekletar <msekleta@redhat.com> - 2.4.7-6
|
||||
- fix logical expression in eap_client_active macro (#1023620)
|
||||
|
||||
* Wed Nov 19 2014 Michal Sekletar <msekleta@redhat.com> - 2.4.7-5
|
||||
- don't mark logrotate config as executable (#1164435)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user