struct openpgp_packet_list *list_end = NULL;
struct openpgp_publickey *keys = NULL;
struct openpgp_publickey *newkeys = NULL;
void *ctx = NULL;
struct openpgp_packet_list *list_end = NULL;
struct openpgp_publickey *keys = NULL;
struct openpgp_publickey *newkeys = NULL;
void *ctx = NULL;
-// fputs("Doing read_openpgp_stream():\n", stderr);
-// read_openpgp_stream(getnextchar, ctx, &packets);
-
+ fputs("Doing read_openpgp_stream():\n", stderr);
+ 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);
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);
-// fputs("Doing parse_keys():\n", stderr);
-// parse_keys(packets, &keys);
-
-// printf("Key id is 0x%llX\n", get_keyid(keys));
+/*
+ fputs("Doing parse_keys():\n", stderr);
+ parse_keys(packets, &keys);
-// fputs("Doing flatten_publickey():\n", stderr);
-// flatten_publickey(keys, &newpackets, &list_end);
+ printf("New key id is 0x%llX\n", get_keyid(newkeys));
-// fputs("Doing write_openpgp_stream():\n", stderr);
-// write_openpgp_stream(putnextchar, ctx, newpackets);
+ fputs("Doing flatten_publickey():\n", stderr);
+ flatten_publickey(keys, &newpackets, &list_end);