Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 399065

Summary: net-dialup/ppp-2.4.5 EAP-TLS patch update
Product: Gentoo Linux Reporter: Ladislav Zitka <archenroot>
Component: New packagesAssignee: Gentoo Dialup Developers <net-dialup>
Status: RESOLVED FIXED    
Severity: enhancement CC: archenroot, axiator
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Newest patch from Jan Just Keijser

Description Ladislav Zitka 2012-01-16 12:09:40 UTC
there is a new patch regarding EAP-TLS support in PPPD, the eaptls-mppe-0.992 patch. Current ebuild uses eaptls-mppe-0.98-gentoo.patch

Reproducible: Always
Comment 1 Ladislav Zitka 2012-01-16 12:11:04 UTC
Created attachment 299059 [details]
Newest patch from Jan Just Keijser
Comment 2 Patryk Rzadzinski 2012-10-20 10:26:24 UTC
Could someone please have a look into this? ppp has been failing to patch for half a year now
Comment 3 Evgeny 2013-03-28 16:20:11 UTC
Hello, 

Could you please apply latest path from Jan Just Keijser:
http://www.nikhef.nl/~janjust/ppp/ppp-2.4.5-eaptls-mppe-0.994.patch

and patch for this patch :-)

in this code (ppp-2.4.5/pppd/eap-tls.c)

if (ssl_config && pkey_engine_name)
{
  /* don't load the same engine twice */
  if ( strcmp( cert_engine_name, pkey_engine_name) == 0 )
    pkey_engine = cert_engine;
  else
    pkey_engine = eaptls_ssl_load_engine( pkey_engine_name );
}

change 
+ if (cert_engine_name && strcmp( cert_engine_name, pkey_engine_name) == 0 )
- if ( strcmp( cert_engine_name, pkey_engine_name) == 0 )

this change works ok for me.
Comment 4 Sergey Popov (RETIRED) gentoo-dev 2014-06-04 07:12:24 UTC
Updated to 0.994 in net-dialup/ppp-2.4.6, thanks to Lars Wendler