[gnutls-dev]GPL/LGPL license changes

Werner Koch wk at gnupg.org
Fri May 17 08:49:01 CEST 2002


On Thu, 16 May 2002 20:56:36 +0100, Andrew McDonald said:

> if the GPL bits could be moved to an auxilary library. A GPL'ed app
> could then link with libgnutls and libgnutls-extra to be able to use
> SRP and OpenPGP. Any thoughts?

That is the cleanest approach.

> I guess an application can detect OpenPGP support at run time through
> by calling one of the _openpgp_ functions and SRP through one of the

On ELF systems weak linking can be used to replace the standard
initialization function in the gnutls-extra lib.  One can also do
autoconf magic to call the right initialization function.  Same goes
for a function to learn about the supported extensions.

> way of doing this? Also, is there a way to detect at compile time
> whether SRP or OpenPGP support is available?

gnutls-config should be able to provide this.

  Werner





More information about the Gnutls-devel mailing list