summaryrefslogtreecommitdiffstats
path: root/term_ps.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-03-07 01:58:24 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-03-07 01:58:24 +0000
commitf45e957372aaf906237207a4f6863b716d1f0829 (patch)
treee12814a508398a149b7a317639e03285fa5c9acb /term_ps.c
parent860c46e76e21acef233ea6b22f4cf3f19ac662a6 (diff)
downloadmandoc-f45e957372aaf906237207a4f6863b716d1f0829.tar.gz
Do not leak information about the software used
into PostScript and PDF documents behind the user's back. Joerg Sonnenberger pointed out that almost all software creating PostScript and PDF documents does so, even on OpenBSD, but that doesn't make the leakage much better in my book. According to all standards i could find, this information is optional. Issue originally reported by deraadt@; "commit!" kristaps@.
Diffstat (limited to 'term_ps.c')
-rw-r--r--term_ps.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/term_ps.c b/term_ps.c
index fddad2d0..78d4197b 100644
--- a/term_ps.c
+++ b/term_ps.c
@@ -788,7 +788,6 @@ ps_begin(struct termp *p)
if (TERMTYPE_PS == p->type) {
ps_printf(p, "%%!PS-Adobe-3.0\n");
- ps_printf(p, "%%%%Creator: mandoc-%s\n", VERSION);
ps_printf(p, "%%%%CreationDate: %s", ctime(&t));
ps_printf(p, "%%%%DocumentData: Clean7Bit\n");
ps_printf(p, "%%%%Orientation: Portrait\n");
@@ -808,7 +807,6 @@ ps_begin(struct termp *p)
ps_printf(p, "%%PDF-1.1\n");
pdf_obj(p, 1);
ps_printf(p, "<<\n");
- ps_printf(p, "/Creator mandoc-%s\n", VERSION);
ps_printf(p, ">>\n");
ps_printf(p, "endobj\n");