crypto: don't open-code qcrypto_hash_supports
commit760328971218bace4ab14b01f619825607fab9c3
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 5 Jul 2016 16:41:45 +0000 (5 17:41 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 21 Jul 2016 09:46:27 +0000 (21 10:46 +0100)
treeef7561171380b99bcd49d124ea4dfc3f1a394902
parent2165477c0f65d20fdfbdb2ddcd4e0e7fe8f61df5
crypto: don't open-code qcrypto_hash_supports

Call the existing qcrypto_hash_supports method from
qcrypto_hash_bytesv instead of open-coding it again.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
crypto/hash-gcrypt.c
crypto/hash-glib.c
crypto/hash-nettle.c