WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] blktap2: fix libgcrypt detection

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] blktap2: fix libgcrypt detection
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 22 Nov 2009 23:35:18 -0800
Delivery-date: Sun, 22 Nov 2009 23:35:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] blktap2: fix libgcrypt detection, Xen patchbot-unstable <=