From e2f71410d17b4f419fb1c563aa0de8c1b4543e14 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 7 Mar 2011 01:58:24 +0000 Subject: 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@. --- term_ps.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'term_ps.c') 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 * @@ -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"); -- cgit v1.2.3