On 05/15/2018 02:03 PM, Ján Tomko wrote:
The first two patches fix the build and tests without GnuTLS.
The third requires GnuTLS 3.2.0 or newer.
That means we don't have to worry about gnutls_hash_fast not
being present (introduced in GnuTLS 2.10.0).
The rest of the patches cleans up the code that deals with older
GnuTLS.
Ján Tomko (8):
virCryptoHashBuf: return the length of the hash in bytes
Skip vircryptotest and virfilecachetest without gnutls
Require GnuTLS >= 3.2.0
Deprecate GNUTLS_GCRYPT
Remove explicit check for gnutls_rnd
Remove explicit check for gnutls_cipher_encrypt
Fix indentation in virCryptoHaveCipher
Remove check for gnutls/crypto.h
config-post.h | 2 --
m4/virt-gnutls.m4 | 50 +++-------------------------
src/libvirt.c | 83 ----------------------------------------------
src/rpc/virnettlscontext.c | 4 +--
src/util/vircrypto.c | 28 ++++++++--------
src/util/vircrypto.h | 2 +-
tests/qemuxml2argvtest.c | 8 ++---
tests/vircryptotest.c | 26 ++++++++++-----
tests/virfilecachetest.c | 19 ++++++++---
9 files changed, 58 insertions(+), 164 deletions(-)
ACK series.
Michal