summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2016-03-02 00:49:00 +0100
committerAlbert Astals Cid <aacid@kde.org>2016-03-02 00:49:00 +0100
commit810605dae2d7f239ce29640a31a9befe511c3190 (patch)
tree7c214dfb0aaccca9db93b9ddea95f32b02077f42
parent9d33825e6f6167f07b2739645b93249b2bc043da (diff)
Compile++
-rw-r--r--poppler/Form.cc5
1 files 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 <julienr@svn.gnome.org>
-// Copyright 2007-2012, 2015 Albert Astals Cid <aacid@kde.org>
+// Copyright 2007-2012, 2015, 2016 Albert Astals Cid <aacid@kde.org>
// Copyright 2007-2008, 2011 Carlos Garcia Campos <carlosgc@gnome.org>
// Copyright 2007, 2013 Adrian Johnson <ajohnson@redneon.com>
// Copyright 2007 Iñigo Martínez <inigomartinez@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
}