projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add /pks/hashquery
[onak.git]
/
parsekey.c
diff --git
a/parsekey.c
b/parsekey.c
index 6e080af36dc66493b0208e9d77c93a705a9e8bfc..2d9510697cbe8d893f9ae6c8017f6b419ba8b476 100644
(file)
--- a/
parsekey.c
+++ b/
parsekey.c
@@
-148,7
+148,7
@@
int parse_keys(struct openpgp_packet_list *packets,
*/
int debug_packet(struct openpgp_packet *packet)
{
*/
int debug_packet(struct openpgp_packet *packet)
{
- printf("\tNew format: %d, Tag: %u, Length: %d\n",
+ printf("\tNew format: %d, Tag: %u, Length: %
z
d\n",
packet->newformat,
packet->tag,
packet->length);
packet->newformat,
packet->tag,
packet->length);
@@
-168,7
+168,7
@@
int debug_packet(struct openpgp_packet *packet)
* ready for parsing as a public key or whatever.
*/
int read_openpgp_stream(int (*getchar_func)(void *ctx, size_t count,
* ready for parsing as a public key or whatever.
*/
int read_openpgp_stream(int (*getchar_func)(void *ctx, size_t count,
-
unsigned char
*c),
+
void
*c),
void *ctx,
struct openpgp_packet_list **packets,
int maxnum)
void *ctx,
struct openpgp_packet_list **packets,
int maxnum)
@@
-322,7
+322,7
@@
int read_openpgp_stream(int (*getchar_func)(void *ctx, size_t count,
* packet stream from a linked list of packets.
*/
int write_openpgp_stream(int (*putchar_func)(void *ctx, size_t count,
* packet stream from a linked list of packets.
*/
int write_openpgp_stream(int (*putchar_func)(void *ctx, size_t count,
-
unsigned char
*c),
+
void
*c),
void *ctx,
struct openpgp_packet_list *packets)
{
void *ctx,
struct openpgp_packet_list *packets)
{