Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399065 - net-dialup/ppp-2.4.5 EAP-TLS patch update
Summary: net-dialup/ppp-2.4.5 EAP-TLS patch update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-01-16 12:09 UTC by Ladislav Zitka
Modified: 2014-06-04 07:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Newest patch from Jan Just Keijser (ppp-2.4.5-eaptls-mppe-0.992.patch,76.75 KB, text/plain)
2012-01-16 12:11 UTC, Ladislav Zitka
Details

Note You need to log in before you can comment on or make changes to this bug.
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 gentoo-dev 2014-06-04 07:12:24 UTC
Updated to 0.994 in net-dialup/ppp-2.4.6, thanks to Lars Wendler