Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Phil Blundell <philb@gnu.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] wpa-supplicant: Compile without CONFIG_GNUTLS_EXTRA
Date: Fri, 06 Jan 2012 13:07:51 +0000	[thread overview]
Message-ID: <1325855272.28005.177.camel@phil-desktop> (raw)
In-Reply-To: <4F0642B9.20104@opendreambox.org>

On Fri, 2012-01-06 at 01:39 +0100, Andreas Oberritter wrote:
> On 05.01.2012 22:30, Andrei Gherzan wrote:
> > From: Andrei Gherzan <andrei.gherzan@windriver.com>
> > 
> > CONFIG_GNUTLS_EXTRA is needed as support for TLS/IA which was designed to be used
> > in the EAP-TTLSv1. As we don't see any requirement for that protocol today we decided
> > to remove it from wpa-supplicant .config file.
> 
> With this option removed, is there any reason to prefer GnuTLS over
> OpenSSL? OpenSSL is wpa-supplicant's default, and at least Ubuntu uses
> OpenSSL with it, too. I guess it's tested more thoroughly than GnuTLS.

OpenSSL's license can be a nuisance at times because it is incompatible
with the GPL.  In the particular case of wpa-supplicant it doesn't
present a massive problem since wpa-supplicant itself is dual-licensed
and you can just ship the binaries under the BSD license instead.

However:

a) you might want to modify wpa-supplicant by linking it with GPL code,
which would require the resulting binary to also be distributed under
the GPL (and hence prohibit the use of openssl); or

b) you might already be using GnuTLS elsewhere on the system (e.g. for
other programs which are GPL-only or simply don't include support for
OpenSSL at a technical level).  In this case you probably want to link
wpa-supplicant with GnuTLS as well so as to avoid shipping more SSL
libraries than necessary.

So, ideally, I think the choice as to whether OpenSSL or GnuTLS is
preferred should be a DISTRO_FEATURE, and/or a PACKAGECONFIG option for
wpa-supplicant.

p.





  reply	other threads:[~2012-01-06 13:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-05 21:30 [PATCH] wpa-supplicant: Compile without CONFIG_GNUTLS_EXTRA Andrei Gherzan
2012-01-05 21:48 ` Denys Dmytriyenko
2012-01-06  0:39 ` Andreas Oberritter
2012-01-06 13:07   ` Phil Blundell [this message]
2012-01-06  7:47 ` Saul Wold
2012-01-06 15:21   ` Andrei Gherzan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1325855272.28005.177.camel@phil-desktop \
    --to=philb@gnu.org \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox