aboutsummaryrefslogtreecommitdiff
path: root/signature-standards/sigs-pkcs7detached/src/main/java/at
diff options
context:
space:
mode:
authorTobias Kellner <tobias.kellner@iaik.tugraz.at>2014-03-15 00:19:36 +0100
committerTobias Kellner <tobias.kellner@iaik.tugraz.at>2014-04-03 15:38:36 +0200
commit0f8777952974daf03099bf48c6db1d91bd431bb2 (patch)
treeb5a4c2f2e8b3420ea8317bcfbeddd360ab99e38c /signature-standards/sigs-pkcs7detached/src/main/java/at
parent6a7fcab53bb00b4eb59cc41b1a8de81ab81e2b19 (diff)
downloadpdf-as-4-0f8777952974daf03099bf48c6db1d91bd431bb2.tar.gz
pdf-as-4-0f8777952974daf03099bf48c6db1d91bd431bb2.tar.bz2
pdf-as-4-0f8777952974daf03099bf48c6db1d91bd431bb2.zip
Remove unused imports and variables
Diffstat (limited to 'signature-standards/sigs-pkcs7detached/src/main/java/at')
-rw-r--r--signature-standards/sigs-pkcs7detached/src/main/java/at/gv/egiz/pdfas/sigs/pkcs7detached/PKCS7DetachedSigner.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/signature-standards/sigs-pkcs7detached/src/main/java/at/gv/egiz/pdfas/sigs/pkcs7detached/PKCS7DetachedSigner.java b/signature-standards/sigs-pkcs7detached/src/main/java/at/gv/egiz/pdfas/sigs/pkcs7detached/PKCS7DetachedSigner.java
index 85446486..7b45a45a 100644
--- a/signature-standards/sigs-pkcs7detached/src/main/java/at/gv/egiz/pdfas/sigs/pkcs7detached/PKCS7DetachedSigner.java
+++ b/signature-standards/sigs-pkcs7detached/src/main/java/at/gv/egiz/pdfas/sigs/pkcs7detached/PKCS7DetachedSigner.java
@@ -101,8 +101,7 @@ public class PKCS7DetachedSigner implements IPlainSigner {
si.addSignerInfo(signer1);
InputStream dataIs = si.getInputStream();
byte[] buf = new byte[1024];
- int r;
- while ((r = dataIs.read(buf)) > 0)
+ while ((dataIs.read(buf)) > 0)
; // skip data
ContentInfo ci = new ContentInfo(si);
logger.info("PKCS7 signature done.");