lib/tls: Fix behaviour of --disable-gnutls and remove link to gcrypt
authorAndrew Bartlett <abartlet@samba.org>
Thu, 12 Mar 2015 04:01:05 +0000 (17:01 +1300)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 12 Mar 2015 21:24:07 +0000 (22:24 +0100)
commit61d962bdfdb9ca13e5f31e726ae84823c6f68fc6
tree5d54483367300292d3a5c8149dd3b9d20566b337
parentf0a6935b1e0c140cc100036e5945fe6a7b95a45e
lib/tls: Fix behaviour of --disable-gnutls and remove link to gcrypt

We no longer link against gcrypt if gnutls > 3.0.0 is found, as these
versions use libnettle.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11135

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/lib/tls/tlscert.c
source4/lib/tls/wscript
source4/rpc_server/backupkey/dcesrv_backupkey.c