Remove explicit gcrypt references
authorDan Winship <danw@gnome.org>
Sat, 3 Dec 2011 11:41:23 +0000 (12:41 +0100)
committerDan Winship <danw@gnome.org>
Sat, 3 Dec 2011 11:44:56 +0000 (12:44 +0100)
commitdeb4bf3245fdd54de420b2ce2c3e1e1a588f184f
treeac05f73f244782ded43c6f345b3e129402f605e9
parent814d004e13332fc3ddbf994a18e2269aa2fa61c5
Remove explicit gcrypt references

gnutls 2.11 allows using nettle instead of gcrypt for crypto, and
gnutls 3.0 only supports nettle. But our gnutls code was making
explicit gcrypt calls to initialize gnutls thread-safety, which meant
we required gcrypt even if gnutls didn't.

Fortunately, gnutls 2.11 fixed this situation by initializing gcrypt
thread-safety by default (when using gcrypt), so we can just remove
all the explicit references to gcrypt from glib-networking (since we
already depend on gnutls 2.11 or later), and it all just works.

https://bugzilla.gnome.org/show_bug.cgi?id=657306
configure.ac
tls/gnutls/Makefile.am
tls/gnutls/gtlsbackend-gnutls.c