Skip to content

Commit 1a62546

Browse files
committed
Removed the version header from armored messages.
Issue #871
1 parent 2a79e06 commit 1a62546

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/librepgp/stream-armor.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -937,11 +937,6 @@ init_armored_dst(pgp_dest_t *dst, pgp_dest_t *writedst, pgp_armored_msg_t msgtyp
937937
/* armor header */
938938
dst_write(writedst, hdr, strlen(hdr));
939939
armor_write_eol(param);
940-
/* version string */
941-
strncpy(hdr, "Version: " PACKAGE_STRING, sizeof(hdr));
942-
hdr[sizeof(hdr) - 1] = '\0';
943-
dst_write(writedst, hdr, strlen(hdr));
944-
armor_write_eol(param);
945940
/* empty line */
946941
armor_write_eol(param);
947942

0 commit comments

Comments
 (0)