Fixed compilation of pppd without USE_EAPTLS
This commit is contained in:
parent
e7c7404005
commit
29305e4277
|
@ -400,9 +400,9 @@ diff -Naur ppp-2.4.5/pppd/auth.c ppp-2.4.5-eaptls-mppe-0.99/pppd/auth.c
|
||||||
- have_srp_secret(user, (explicit_remote? remote_name: NULL), 0, NULL));
|
- have_srp_secret(user, (explicit_remote? remote_name: NULL), 0, NULL));
|
||||||
+ have_srp_secret(user, (explicit_remote? remote_name: NULL), 0, NULL)
|
+ have_srp_secret(user, (explicit_remote? remote_name: NULL), 0, NULL)
|
||||||
+#ifdef USE_EAPTLS
|
+#ifdef USE_EAPTLS
|
||||||
+ || have_eaptls_secret_client(user, (explicit_remote? remote_name: NULL)))
|
+ || have_eaptls_secret_client(user, (explicit_remote? remote_name: NULL))
|
||||||
+#endif
|
+#endif
|
||||||
+ ;
|
+ );
|
||||||
|
|
||||||
hadchap = -1;
|
hadchap = -1;
|
||||||
if (go->neg_upap && !uselogin && !have_pap_secret(NULL))
|
if (go->neg_upap && !uselogin && !have_pap_secret(NULL))
|
||||||
|
|
5
ppp.spec
5
ppp.spec
|
@ -1,7 +1,7 @@
|
||||||
Summary: The Point-to-Point Protocol daemon
|
Summary: The Point-to-Point Protocol daemon
|
||||||
Name: ppp
|
Name: ppp
|
||||||
Version: 2.4.5
|
Version: 2.4.5
|
||||||
Release: 18%{?dist}
|
Release: 19%{?dist}
|
||||||
License: BSD and LGPLv2+ and GPLv2+ and Public Domain
|
License: BSD and LGPLv2+ and GPLv2+ and Public Domain
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.samba.org/ppp
|
URL: http://www.samba.org/ppp
|
||||||
|
@ -157,6 +157,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%doc PLUGINS
|
%doc PLUGINS
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 17 2012 Michal Sekletar <msekleta@redhat.com>
|
||||||
|
- Resolves: #771340 - fixed compilation of pppd without USE_EAPTLS
|
||||||
|
|
||||||
* Mon May 30 2011 Jiri Skala <jskala@redhat.com> - 2.4.5-18
|
* Mon May 30 2011 Jiri Skala <jskala@redhat.com> - 2.4.5-18
|
||||||
- fixes #682381 - hardcodes eth0
|
- fixes #682381 - hardcodes eth0
|
||||||
- fixes #708260 - SELinux is preventing access on the file LCK..ttyUSB3
|
- fixes #708260 - SELinux is preventing access on the file LCK..ttyUSB3
|
||||||
|
|
Loading…
Reference in New Issue