From: Tomas Mlcoch Date: Mon, 10 Jun 2013 12:49:28 +0000 (+0200) Subject: checksum: Fix cr_checksum_type for sha checksum. X-Git-Tag: upstream/0.2.1~94 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4cf3936b85c455e5bc3c337b724672b4920d2cd;p=services%2Fcreaterepo_c.git checksum: Fix cr_checksum_type for sha checksum. --- diff --git a/src/checksum.c b/src/checksum.c index 2431230..cbef9ec 100644 --- a/src/checksum.c +++ b/src/checksum.c @@ -62,7 +62,7 @@ cr_checksum_type(const char *name) // SHA* family char *sha_type = name_lower + 3; if (!strcmp(sha_type, "")) - return CR_CHECKSUM_SHA1; + return CR_CHECKSUM_SHA; else if (!strcmp(sha_type, "1")) return CR_CHECKSUM_SHA1; else if (!strcmp(sha_type, "224"))