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]
/
keyd.c
diff --git
a/keyd.c
b/keyd.c
index 5911ce9104a967a10cd9d46758223896b2a7dccd..e43115d48bdda7cb26f81628f563e4324f937698 100644
(file)
--- a/
keyd.c
+++ b/
keyd.c
@@
-78,15
+78,17
@@
void iteratefunc(void *ctx, struct openpgp_publickey *key)
struct buffer_ctx storebuf;
int ret = 0;
int *fd = (int *) ctx;
struct buffer_ctx storebuf;
int ret = 0;
int *fd = (int *) ctx;
+ uint64_t keyid;
if (key != NULL) {
storebuf.offset = 0;
storebuf.size = 8192;
storebuf.buffer = malloc(8192);
if (key != NULL) {
storebuf.offset = 0;
storebuf.size = 8192;
storebuf.buffer = malloc(8192);
+ get_keyid(key, &keyid);
logthing(LOGTHING_TRACE,
"Iterating over 0x%016" PRIX64 ".",
logthing(LOGTHING_TRACE,
"Iterating over 0x%016" PRIX64 ".",
-
get_keyid(key)
);
+
keyid
);
flatten_publickey(key,
&packets,
flatten_publickey(key,
&packets,