ref: refs/heads/master
commit abd27d1f5ee6ea30b26e7da117003ebc3c15c991
Author: Michael Schroeder
Date: Thu May 7 10:40:01 2009 +0200
- also support sha256 in susetags
---
tools/repo_susetags.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
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
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org