]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - armor.h
Remove bashism from postrm (Debian packaging)
[onak.git] / armor.h
diff --git a/armor.h b/armor.h
index 6b58a34d3e5de416b95dd375e70c69a6108a75c5..85ac6a644b1576509b353c22d8e5eab994d12caa 100644 (file)
--- a/armor.h
+++ b/armor.h
@@ -20,7 +20,8 @@
  *     This function ASCII armors a list of OpenPGP packets and outputs it
  *     using putchar_func.
  */
-int armor_openpgp_stream(int (*putchar_func)(void *ctx, unsigned char c),
+int armor_openpgp_stream(int (*putchar_func)(void *ctx, size_t count,
+                                               unsigned char *c),
                                void *ctx,
                                struct openpgp_packet_list *packets);