projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update Debian Vcs-* fields to point to git repository
[onak.git]
/
stripkey.c
diff --git
a/stripkey.c
b/stripkey.c
index 414c1633c939be58677370755098faa7d7d5110b..e0fb5e38a56957699c70b7630ca1e7291b2e2a48 100644
(file)
--- a/
stripkey.c
+++ b/
stripkey.c
@@
-63,7
+63,8
@@
int main(int argc, char** argv) {
cleankeys( keys );
/* Iterate over the keys... */
for( key = keys; key; key = key->next ) {
cleankeys( keys );
/* Iterate over the keys... */
for( key = keys; key; key = key->next ) {
- uint64_t keyid = get_keyid( key );
+ uint64_t keyid;
+ get_keyid( key, &keyid );
for( uid = key->uids; uid; uid = uid->next ) {
REPEATTHISUID:
for( sig = uid->sigs, prevsig = NULL;
for( uid = key->uids; uid; uid = uid->next ) {
REPEATTHISUID:
for( sig = uid->sigs, prevsig = NULL;
@@
-83,8
+84,8
@@
int main(int argc, char** argv) {
}
}
}
}
}
}
- flatten_publickey( key, &packets, &list_end );
}
}
+ flatten_publickey( keys, &packets, &list_end );
write_openpgp_stream( stdout_putchar, NULL, packets );
return 0;
}
write_openpgp_stream( stdout_putchar, NULL, packets );
return 0;
}