[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] blktap2: fix libgcrypt detection
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1258958532 0 # Node ID 5ea5cce3b9ada967029fcee19686c392fcf975fe # Parent c6c51f99768a0b53a35b8ccc8f617ce68b28a4b6 blktap2: fix libgcrypt detection If we want to check the functionality of libgcrypt, we shouldn't test a function only exported by openssl, but instead the one actually used in the code. Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx> --- tools/blktap2/drivers/check_gcrypt | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) diff -r c6c51f99768a -r 5ea5cce3b9ad tools/blktap2/drivers/check_gcrypt --- a/tools/blktap2/drivers/check_gcrypt Tue Nov 17 13:07:16 2009 +0000 +++ b/tools/blktap2/drivers/check_gcrypt Mon Nov 23 06:42:12 2009 +0000 @@ -4,8 +4,7 @@ cat > .gcrypt.c << EOF #include <gcrypt.h> int main(void) { - char dummy[14]; - MD5("DUMMY", 5, dummy); + gcry_md_hash_buffer(GCRY_MD_MD5, NULL, NULL, 0); return 0; } EOF _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |