* [PATCH] tools: fix libgcrypt detection
@ 2009-11-16 8:35 Andre Przywara
0 siblings, 0 replies; only message in thread
From: Andre Przywara @ 2009-11-16 8:35 UTC (permalink / raw)
To: Keir Fraser; +Cc: xen-devel@lists.xensource.com, Dulloor
[-- Attachment #1: Type: text/plain, Size: 614 bytes --]
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@amd.com>
--
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
[-- Attachment #2: check_gcrypt.patch --]
[-- Type: text/x-patch, Size: 385 bytes --]
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
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-16 8:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-16 8:35 [PATCH] tools: fix libgcrypt detection Andre Przywara
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.