[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] tools: fix libgcrypt detection
Hi,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> -- Andre Przywara AMD-Operating System Research Center (OSRC), Dresden, Germany Tel: +49 351 448 3567 12 ----to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Andrew Bowd; Thomas M. McCoy; Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 diff -r bec27eb6f72c tools/blktap2/drivers/check_gcrypt --- a/tools/blktap2/drivers/check_gcrypt Sat Nov 14 10:32:59 2009 +0000 +++ b/tools/blktap2/drivers/check_gcrypt Mon Nov 16 09:30:44 2009 +0100 @@ -4,8 +4,7 @@ #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-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |