]> git.ipfire.org Git - thirdparty/hostap.git/commit
GnuTLS: Remove support for versions older than 2.12.x
authorJouni Malinen <j@w1.fi>
Sun, 11 Jan 2015 09:45:53 +0000 (11:45 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 11 Jan 2015 22:18:57 +0000 (00:18 +0200)
commit7c8245798fee6bb73b2438b46af187382a347012
treeac2612fbe6964469b3226728c6d906e75e7c0075
parente1d63f6aeac0e5ebb1c5107533188638c5a44e6e
GnuTLS: Remove support for versions older than 2.12.x

GnuTLS project has marked 2.12.x obsolete since January 2014. There is
not much need for maintaining support for obsolete versions of the
library, so drop all #if/#endif blocks targeting 2.x.y versions. In
practice, none of these were requiring 2.12.x version with x greater
than 0, so 2.12.x remains supported for now.

In addition, add newer version (GnuTLS 3.0.18 and newer) to fetch client
and server random from the session since the old method is not supported
by new GnuTLS versions and as such, gets removed with rest of the old
ifdef blocks.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/crypto/tls_gnutls.c