summaryrefslogtreecommitdiff
path: root/bkucommon/src/main/java/at/gv
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-10-03 19:50:49 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-10-03 19:50:49 +0000
commit7a6eabd80d2c57cb8018eb4eb98fb46b765ec189 (patch)
tree8c59da2bcdfc542fce56692d9772eb0d7e4f4e8c /bkucommon/src/main/java/at/gv
parent48aa94dcefe6f94628b548b631ac602dcfceb169 (diff)
downloadmocca-7a6eabd80d2c57cb8018eb4eb98fb46b765ec189.tar.gz
mocca-7a6eabd80d2c57cb8018eb4eb98fb46b765ec189.tar.bz2
mocca-7a6eabd80d2c57cb8018eb4eb98fb46b765ec189.zip
close streams
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1146 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'bkucommon/src/main/java/at/gv')
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/STALHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/STALHelper.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/STALHelper.java
index 13d29c4e..1b4cd565 100644
--- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/STALHelper.java
+++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/STALHelper.java
@@ -194,7 +194,7 @@ public class STALHelper {
writer.flush();
Base64OutputStream b64os = new Base64OutputStream(certDump);
b64os.write(cert);
- b64os.flush();
+ b64os.close();
writer.write("\n-----END CERTIFICATE-----");
writer.flush();
} catch (IOException e1) {