Skip to content

Commit

Permalink
Removed the version header from armored messages.
Browse files Browse the repository at this point in the history
Issue #871
  • Loading branch information
joke325 committed Apr 28, 2020
1 parent 2a79e06 commit 2451073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librepgp/stream-armor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ init_armored_dst(pgp_dest_t *dst, pgp_dest_t *writedst, pgp_armored_msg_t msgtyp
/* armor header */
dst_write(writedst, hdr, strlen(hdr));
armor_write_eol(param);
/* version string */

strncpy(hdr, "Version: " PACKAGE_STRING, sizeof(hdr));
hdr[sizeof(hdr) - 1] = '\0';
dst_write(writedst, hdr, strlen(hdr));
Expand Down

0 comments on commit 2451073

Please sign in to comment.