Fixed compilation of pppd without USE_EAPTLS

This commit is contained in:
Michal Sekletar 2012-05-17 16:11:58 +02:00
parent 1874707594
commit 41a19dfd2e
2 changed files with 6 additions and 3 deletions

View File

@ -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)
+#ifdef USE_EAPTLS
+ || have_eaptls_secret_client(user, (explicit_remote? remote_name: NULL)))
+ || have_eaptls_secret_client(user, (explicit_remote? remote_name: NULL))
+#endif
+ ;
+ );
hadchap = -1;
if (go->neg_upap && !uselogin && !have_pap_secret(NULL))

View File

@ -1,7 +1,7 @@
Summary: The Point-to-Point Protocol daemon
Name: ppp
Version: 2.4.5
Release: 19%{?dist}
Release: 20%{?dist}
License: BSD and LGPLv2+ and GPLv2+ and Public Domain
Group: System Environment/Daemons
URL: http://www.samba.org/ppp
@ -157,6 +157,9 @@ rm -rf $RPM_BUILD_ROOT
%doc PLUGINS
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild