X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/e53eb5db2367eb5bf2ec72272e068fe57f3ba6a0..f3143629476bae20f5310bbc0a59fe735b5d245d:/parsekey.c diff --git a/parsekey.c b/parsekey.c index a0c0311..2d95106 100644 --- a/parsekey.c +++ b/parsekey.c @@ -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, - unsigned char *c), + void *c), 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, - unsigned char *c), + void *c), void *ctx, struct openpgp_packet_list *packets) {