[poppler] poppler/Form.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Tue Mar 1 23:49:19 UTC 2016


 poppler/Form.cc |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 810605dae2d7f239ce29640a31a9befe511c3190
Author: Albert Astals Cid <aacid at kde.org>
Date:   Wed Mar 2 00:49:00 2016 +0100

    Compile++

diff --git a/poppler/Form.cc b/poppler/Form.cc
index 910c179..4dd56b7 100644
--- a/poppler/Form.cc
+++ b/poppler/Form.cc
@@ -5,7 +5,7 @@
 // This file is licensed under the GPLv2 or later
 //
 // Copyright 2006-2008 Julien Rebetez <julienr at svn.gnome.org>
-// Copyright 2007-2012, 2015 Albert Astals Cid <aacid at kde.org>
+// Copyright 2007-2012, 2015, 2016 Albert Astals Cid <aacid at kde.org>
 // Copyright 2007-2008, 2011 Carlos Garcia Campos <carlosgc at gnome.org>
 // Copyright 2007, 2013 Adrian Johnson <ajohnson at redneon.com>
 // Copyright 2007 Iñigo Martínez <inigomartinez at gmail.com>
@@ -1437,6 +1437,7 @@ void FormFieldSignature::parseInfo()
 
 void FormFieldSignature::hashSignedDataBlock(SignatureHandler *handler, Goffset block_len)
 {
+#ifdef ENABLE_NSS3
   const int BLOCK_SIZE = 4096;
   unsigned char signed_data_buffer[BLOCK_SIZE];
 
@@ -1457,7 +1458,7 @@ void FormFieldSignature::hashSignedDataBlock(SignatureHandler *handler, Goffset
       i += BLOCK_SIZE;
     }
   }
-
+#endif
 }
 
 


More information about the poppler mailing list