From 7a6eabd80d2c57cb8018eb4eb98fb46b765ec189 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 3 Oct 2012 19:50:49 +0000 Subject: close streams git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1146 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/STALHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bkucommon/src/main/java/at/gv/egiz') 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) { -- cgit v1.2.3