summaryrefslogtreecommitdiff
path: root/smcc/src/test/java/at/gv/egiz
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-10-03 20:05:06 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-10-03 20:05:06 +0000
commit3c8928ee8f2e88096b7399b8f8fb9ff0c58eeced (patch)
tree092c93a0e531f5d09f634232a8f64e94ae9ef8e2 /smcc/src/test/java/at/gv/egiz
parent7a6eabd80d2c57cb8018eb4eb98fb46b765ec189 (diff)
downloadmocca-3c8928ee8f2e88096b7399b8f8fb9ff0c58eeced.tar.gz
mocca-3c8928ee8f2e88096b7399b8f8fb9ff0c58eeced.tar.bz2
mocca-3c8928ee8f2e88096b7399b8f8fb9ff0c58eeced.zip
Close some more streams
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1147 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'smcc/src/test/java/at/gv/egiz')
-rw-r--r--smcc/src/test/java/at/gv/egiz/smcc/card/CreateSignature.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/smcc/src/test/java/at/gv/egiz/smcc/card/CreateSignature.java b/smcc/src/test/java/at/gv/egiz/smcc/card/CreateSignature.java
index 09833fd3..5acc7e10 100644
--- a/smcc/src/test/java/at/gv/egiz/smcc/card/CreateSignature.java
+++ b/smcc/src/test/java/at/gv/egiz/smcc/card/CreateSignature.java
@@ -63,7 +63,7 @@ public class CreateSignature {
byte[] signature = createSignature(signatureCard, KeyboxName.SECURE_SIGNATURE_KEYPAIR, data);
Formatter printf = new Formatter(System.out);
printf.format("Signature: %1$x", new BigInteger(signature));
-
+ printf.close();
}
public static byte[] createSignature(SignatureCard signatureCard, KeyboxName keyboxName, InputStream data) throws SignatureCardException, InterruptedException, IOException {