components/ghostscript/patches/02-4776996.patch
changeset 345 61b29cf8b717
parent 178 4340c0d63702
equal deleted inserted replaced
344:f3d9af4cada9 345:61b29cf8b717
     1 *** ghostscript-8.64/Resource/Init/pdf_sec.ps.orig	Thu Nov 20 11:31:36 2008
     1 --- ghostscript-8.64/Resource/Init/pdf_sec.ps.orig	Mon Jul  5 16:51:46 2010
     2 --- ghostscript-8.64/Resource/Init/pdf_sec.ps	Tue Sep  1 15:20:59 2009
     2 +++ ghostscript-8.64/Resource/Init/pdf_sec.ps	Fri Oct 15 03:50:03 2010
     3 ***************
     3 @@ -472,12 +472,12 @@
     4 *** 302,313 ****
     4      } ifelse
     5       } ifelse
     5    } ifelse
     6     } ifelse
     6  
     7   
     7 -%   Trailer /Encrypt oget /P oget 4 and 0 eq #? and
     8 ! %   Trailer /Encrypt oget /P oget 4 and 0 eq #? and
     8 -%    { (   ****This owner of this file has requested you do not print it.\n)
     9 ! %    { (   ****This owner of this file has requested you do not print it.\n)
     9 -%      pdfformaterror printProducer
    10 ! %      pdfformaterror printProducer
    10 -%      /pdf_process_Encrypt cvx /invalidfileaccess signalerror
    11 ! %      /pdf_process_Encrypt cvx /invalidfileaccess signalerror
    11 -%    }
    12 ! %    }
    12 -%   if
    13 ! %   if
    13 +  Trailer /Encrypt oget /P oget 4 and 0 eq #? and
    14   } bind def
    14 +   { (   ****This owner of this file has requested you do not print it.\n)
    15   
    15 +     pdfformaterror printProducer
    16   % Calculate the key used to decrypt an object (to pass to .decpdfrun or
    16 +     /pdf_process_Encrypt cvx /invalidfileaccess signalerror
    17 --- 302,313 ----
    17 +   }
    18       } ifelse
    18 +  if
    19     } ifelse
    19  } bind def
    20   
    20  
    21 !   Trailer /Encrypt oget /P oget 4 and 0 eq #? and
    21  % Calculate the key used to decrypt an object (to pass to .decpdfrun or
    22 !    { (   ****This owner of this file has requested you do not print it.\n)
       
    23 !      pdfformaterror printProducer
       
    24 !      /pdf_process_Encrypt cvx /invalidfileaccess signalerror
       
    25 !    }
       
    26 !   if
       
    27   } bind def
       
    28   
       
    29   % Calculate the key used to decrypt an object (to pass to .decpdfrun or