projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cscvs to tla changeset 74
[onak.git]
/
keyindex.c
diff --git
a/keyindex.c
b/keyindex.c
index 2e14e778f2c83a80b1d1f1d9fe90b2ab1377fd9c..8277866d5ab31d4d2b038005303d00de5ef92689 100644
(file)
--- a/
keyindex.c
+++ b/
keyindex.c
@@
-21,6
+21,7
@@
#include "keyid.h"
#include "keyindex.h"
#include "keystructs.h"
#include "keyid.h"
#include "keyindex.h"
#include "keystructs.h"
+#include "log.h"
int list_sigs(struct openpgp_packet_list *sigs, bool html)
{
int list_sigs(struct openpgp_packet_list *sigs, bool html)
{
@@
-114,7
+115,8
@@
int list_subkeys(struct openpgp_signedpacket_list *subkeys, bool verbose,
subkeys->packet->data[7];
break;
default:
subkeys->packet->data[7];
break;
default:
- fprintf(stderr, "Unknown key type: %d\n",
+ logthing(LOGTHING_ERROR,
+ "Unknown key type: %d",
subkeys->packet->data[0]);
}
subkeys->packet->data[0]);
}
@@
-205,7
+207,7
@@
int key_index(struct openpgp_publickey *keys, bool verbose, bool fingerprint,
keys->publickey->data[7];
break;
default:
keys->publickey->data[7];
break;
default:
-
fprintf(stderr, "Unknown key type: %d\n
",
+
logthing(LOGTHING_ERROR, "Unknown key type: %d
",
keys->publickey->data[0]);
}
keys->publickey->data[0]);
}