Fix mistype in define clause
authorjaviplx@gmail.com <javiplx@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Thu, 7 Apr 2011 15:51:52 +0000 (15:51 +0000)
committerjaviplx@gmail.com <javiplx@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Thu, 7 Apr 2011 15:51:52 +0000 (15:51 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@613 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libopkg/release.c

index 86f9a8d4370d7d2cac7b21c0b58e3babff4c1617..1b6e838ee8f4bee260b3c0760c677e87d11fdf68 100644 (file)
@@ -305,7 +305,7 @@ release_verify_file(release_t *release, const char* file_name, const char *pathn
      struct stat f_info;
      char *f_md5 = NULL;
      const char *md5 = release_get_md5(release, pathname);
-#ifndef HAVE_SHA256
+#ifdef HAVE_SHA256
      char *f_sha256 = NULL;
      const char *sha256 = release_get_sha256(release, pathname);
 #endif