projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b089419
)
- also dump sha256
author
Michael Schroeder
<mls@suse.de>
Thu, 20 Mar 2008 14:54:58 +0000
(14:54 +0000)
committer
Michael Schroeder
<mls@suse.de>
Thu, 20 Mar 2008 14:54:58 +0000
(14:54 +0000)
tools/dumpsolv.c
patch
|
blob
|
history
diff --git
a/tools/dumpsolv.c
b/tools/dumpsolv.c
index
7398f8d
..
0c9816a
100644
(file)
--- a/
tools/dumpsolv.c
+++ b/
tools/dumpsolv.c
@@
-86,7
+86,8
@@
dump_repoattrs_cb(void *vcbdata, Solvable *s, Repodata *data, Repokey *key, KeyV
break;
case REPOKEY_TYPE_MD5:
case REPOKEY_TYPE_SHA1:
- printf("%s: %s\n", keyname, repodata_chk2str(data, key->type, kv->str));
+ case REPOKEY_TYPE_SHA256:
+ printf("%s: %s\n", keyname, repodata_chk2str(data, key->type, (unsigned char *)kv->str));
break;
case REPOKEY_TYPE_VOID:
printf("%s: (void)\n", keyname);