On 2015/6/19 1:02, Daniel P. Berrange wrote: > If we are linking to gnutls already and gnutls is built against > nettle, then we should use nettle as a cipher backend in > preference to our built-in backend. > > This will be used when linking against some GNUTLS 2.x versions > and all GNUTLS 3.x versions. > > Signed-off-by: Daniel P. Berrange <berra...@redhat.com> > --- > configure | 35 ++++++++- > crypto/cipher-nettle.c | 206 > +++++++++++++++++++++++++++++++++++++++++++++++++ > crypto/cipher.c | 2 + > 3 files changed, 240 insertions(+), 3 deletions(-) > create mode 100644 crypto/cipher-nettle.c
Reviewed-by: Gonglei <arei.gong...@huawei.com>