Fixed compilation of pppd without USE_EAPTLS
This commit is contained in:
parent
1874707594
commit
41a19dfd2e
@ -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: 19%{?dist}
|
Release: 20%{?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
|
||||||
|
|
||||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.5-19
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.5-19
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user