This uses the GChecksum APIs as final hash impl, instead of
a no-op stub. This lets us remove conditional registration
of the quorum driver.
Daniel P. Berrange (2):
crypto: use glib as fallback for hash algorithm
Revert "block: don't register quorum driver if SHA256 support is
unavailable"
block/quorum.c | 10 +++---
crypto/Makefile.objs | 2 +-
crypto/hash-glib.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++
crypto/hash-stub.c | 41 -----------------------
4 files changed, 101 insertions(+), 46 deletions(-)
create mode 100644 crypto/hash-glib.c
delete mode 100644 crypto/hash-stub.c
--
2.7.4