From 017d4fee0cd053317fe8b94062ae8f1f080adebe Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Thu, 7 May 2009 10:40:01 +0200 Subject: [PATCH] - also support sha256 in susetags --- tools/repo_susetags.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/repo_susetags.c b/tools/repo_susetags.c index 67e2165..47a3fad 100644 --- a/tools/repo_susetags.c +++ b/tools/repo_susetags.c @@ -177,6 +177,8 @@ set_checksum(struct parsedata *pd, Repodata *data, Id handle, Id keyname, char * } if (!strcasecmp(sp[0], "sha1")) l = SIZEOF_SHA1 * 2, type = REPOKEY_TYPE_SHA1; + else if (!strcasecmp(sp[0], "sha256")) + l = SIZEOF_SHA256 * 2, type = REPOKEY_TYPE_SHA256; else if (!strcasecmp(sp[0], "md5")) l = SIZEOF_MD5 * 2, type = REPOKEY_TYPE_MD5; else -- 2.7.4