From 810605dae2d7f239ce29640a31a9befe511c3190 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Wed, 2 Mar 2016 00:49:00 +0100 Subject: Compile++ --- poppler/Form.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/poppler/Form.cc b/poppler/Form.cc index 910c1792..4dd56b78 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 -// Copyright 2007-2012, 2015 Albert Astals Cid +// Copyright 2007-2012, 2015, 2016 Albert Astals Cid // Copyright 2007-2008, 2011 Carlos Garcia Campos // Copyright 2007, 2013 Adrian Johnson // Copyright 2007 Iñigo Martínez @@ -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 } -- cgit v1.2.3