summaryrefslogtreecommitdiff
blob: 3c575497600014ae4c381613b8a8225e43a0af55 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/security/hashfunc.c	2006-01-18 07:57:42.000000000 +0100
+++ src/security/hashfunc.c.new	2006-01-18 07:58:33.000000000 +0100
@@ -36,7 +36,7 @@
 		return hash;
 	}
 
-	handle = gcry_md_open(0, flags);
+	gcry_md_open(&handle, 0, flags);
 	if(!handle)
 	{
 		fprintf(stderr, "Error: couldn't create handle.\n");