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: Check gcrypt library has MD5() f

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] blktap2: Check gcrypt library has MD5() function.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 12 Oct 2009 05:00:26 -0700
Delivery-date: Mon, 12 Oct 2009 05:00:40 -0700
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 1255074943 -3600
# Node ID 2a67c7e64582170223decb408bbf54eca65d47e7
# Parent  0f43f39ce6a9c6d3a3a0a35fbd53142efd775a23
blktap2: Check gcrypt library has MD5() function.

From: Dulloor <dulloor@xxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/blktap2/drivers/check_gcrypt |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)

diff -r 0f43f39ce6a9 -r 2a67c7e64582 tools/blktap2/drivers/check_gcrypt
--- a/tools/blktap2/drivers/check_gcrypt        Fri Oct 09 08:54:25 2009 +0100
+++ b/tools/blktap2/drivers/check_gcrypt        Fri Oct 09 08:55:43 2009 +0100
@@ -2,7 +2,12 @@
 
 cat > .gcrypt.c << EOF
 #include <gcrypt.h>
-int main(void) { return 0; }
+int main(void) 
+{
+    char dummy[14];
+    MD5("DUMMY", 5, dummy);
+    return 0; 
+}
 EOF
 
 if $1 -o .gcrypt .gcrypt.c -lgcrypt 2>/dev/null ; then

_______________________________________________
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: Check gcrypt library has MD5() function., Xen patchbot-unstable <=