summaryrefslogtreecommitdiff
path: root/tools/repomdxml2solv.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-04-04 16:18:06 +0200
committerMichael Schroeder <mls@suse.de>2014-04-04 16:18:06 +0200
commitc8164bfecf2ba8bcf4c24329534d3104f19da73c (patch)
tree8063c2f9807984df9b17a0489661a09db456d86a /tools/repomdxml2solv.c
parentfdff34f4855b84438b5bff3f79cba33d6bf35865 (diff)
downloadlibsolv-c8164bfecf2ba8bcf4c24329534d3104f19da73c.tar.gz
libsolv-c8164bfecf2ba8bcf4c24329534d3104f19da73c.tar.bz2
libsolv-c8164bfecf2ba8bcf4c24329534d3104f19da73c.zip
[ABI BREAKAGE] add support for SHA224/384/512
We also use this to reorder knownid.h, thus breaking the libsolv ABI. Next step is to bump the version.
Diffstat (limited to 'tools/repomdxml2solv.c')
-rw-r--r--tools/repomdxml2solv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/repomdxml2solv.c b/tools/repomdxml2solv.c
index 58b1d00..4bd131c 100644
--- a/tools/repomdxml2solv.c
+++ b/tools/repomdxml2solv.c
@@ -78,7 +78,10 @@ doquery(Pool *pool, Repo *repo, const char *query)
break;
case REPOKEY_TYPE_MD5:
case REPOKEY_TYPE_SHA1:
+ case REPOKEY_TYPE_SHA224:
case REPOKEY_TYPE_SHA256:
+ case REPOKEY_TYPE_SHA384:
+ case REPOKEY_TYPE_SHA512:
printf("%s:%s\n", solv_chksum_type2str(di.key->type), repodata_chk2str(di.data, di.key->type, (unsigned char *)di.kv.str));
break;
default: