components/ghostscript/patches/02-4776996.patch
author Tomas Klacko <tomas.klacko@oracle.com>
Mon, 09 Mar 2015 03:42:59 -0700
branchs11-update
changeset 3923 d19fbc6076b9
parent 345 61b29cf8b717
permissions -rw-r--r--
19668629 proftpd doesn't handle IPV6_TCLASS properly
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
345
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
     1
--- ghostscript-8.64/Resource/Init/pdf_sec.ps.orig	Mon Jul  5 16:51:46 2010
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
     2
+++ ghostscript-8.64/Resource/Init/pdf_sec.ps	Fri Oct 15 03:50:03 2010
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
     3
@@ -472,12 +472,12 @@
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
     4
     } ifelse
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
     5
   } ifelse
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
     6
 
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
     7
-%   Trailer /Encrypt oget /P oget 4 and 0 eq #? and
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
     8
-%    { (   ****This owner of this file has requested you do not print it.\n)
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
     9
-%      pdfformaterror printProducer
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
    10
-%      /pdf_process_Encrypt cvx /invalidfileaccess signalerror
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
    11
-%    }
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
    12
-%   if
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
    13
+  Trailer /Encrypt oget /P oget 4 and 0 eq #? and
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
    14
+   { (   ****This owner of this file has requested you do not print it.\n)
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
    15
+     pdfformaterror printProducer
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
    16
+     /pdf_process_Encrypt cvx /invalidfileaccess signalerror
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
    17
+   }
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
    18
+  if
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
    19
 } bind def
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
    20
 
61b29cf8b717 6975488 Problem with utility/ghostscript
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 178
diff changeset
    21
 % Calculate the key used to decrypt an object (to pass to .decpdfrun or