OSDN Git Service

crypto: do an explicit check for nettle pbkdf functions
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 29 Mar 2016 14:47:51 +0000 (15:47 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 30 Mar 2016 13:55:11 +0000 (14:55 +0100)
commitfff2f982ab6ac0dd2b641d30303f72270a019f28
tree8a56cfdf4397cb393683e27201bbe23fb84848b8
parent8850dcbfd7664fab86ab49d9c27b6fa700d71618
crypto: do an explicit check for nettle pbkdf functions

Support for the PBKDF functions in nettle was not introduced
until version 2.6. Some distros QEMU targets have older
versions and thus lack PBKDF support. Address this by doing
a check in configure for the desired function and then skipping
compilation of the nettle-pbkdf.o module

Reported-by: Wen Congyang <wency@cn.fujitsu.com>
Tested-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
configure
crypto/Makefile.objs