X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/1921fa44cfae203ae40e853ee9ecedb206fa9413..5d25774c5cd9f80709f852f79bce26d582fad360:/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) {