From 34075ce84dcfa35f80e24ad0386e98a2b5e2d427 Mon Sep 17 00:00:00 2001 From: gardners Date: Mon, 19 Dec 2011 09:03:30 +1030 Subject: [PATCH] Fixed an NaCl macro name issue for Android NDK cross-compile --- rhizome.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhizome.c b/rhizome.c index 2793cf51..ad0e2b35 100644 --- a/rhizome.c +++ b/rhizome.c @@ -391,7 +391,7 @@ rhizome_manifest *rhizome_read_manifest_file(char *filename) /* Calculate hash of the text part of the file, as we need to couple this with each signature block to */ unsigned char manifest_hash[crypto_hash_sha512_BYTES]; - crypto_hash(manifest_hash,m->manifestdata,end_of_text); + crypto_hash_sha512(manifest_hash,m->manifestdata,end_of_text); /* Read signature blocks from file. XXX - What additional information/restrictions should the