aboutsummaryrefslogtreecommitdiffstatshomepage
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
commite2f71410d17b4f419fb1c563aa0de8c1b4543e14 (patch)
treeb0f531c548b41f0ce964f4f29167efd4a9e64293 /term_ps.c
parent04cc425ad5987ba914232718ff8bbd5ef418b4d6 (diff)
downloadmandoc-e2f71410d17b4f419fb1c563aa0de8c1b4543e14.tar.gz
mandoc-e2f71410d17b4f419fb1c563aa0de8c1b4543e14.tar.zst
mandoc-e2f71410d17b4f419fb1c563aa0de8c1b4543e14.zip
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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/term_ps.c b/term_ps.c
index 543b111c..ddb8459e 100644
--- a/term_ps.c
+++ b/term_ps.c
@@ -1,4 +1,4 @@
-/* $Id: term_ps.c,v 1.46 2011/01/25 17:32:04 kristaps Exp $ */
+/* $Id: term_ps.c,v 1.47 2011/03/07 01:58:24 schwarze Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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");