- read_openpgp_stream(getnextchar, ctx, &packets);
-
-// fputs("Doing dearmor_openpgp_stream():\n", stderr);
-// dearmor_openpgp_stream(getnextchar, NULL, &packets);
-// fputs("Doing armor_openpgp_stream():\n", stderr);
-// armor_openpgp_stream(putnextchar, NULL, packets);
-
+ read_openpgp_stream(getnextchar, ctx, &packets, 0);
+*/
+ fputs("Doing dearmor_openpgp_stream():\n", stderr);
+ dearmor_openpgp_stream(stdin_getchar, NULL, &packets);
+ fputs("Doing armor_openpgp_stream():\n", stderr);
+ armor_openpgp_stream(stdout_putchar, NULL, packets);
+
+/*