diff options
Diffstat (limited to 'BKUOnline/src/main')
-rw-r--r-- | BKUOnline/src/main/java/at/gv/egiz/mocca/id/PersonalIdentifier.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BKUOnline/src/main/java/at/gv/egiz/mocca/id/PersonalIdentifier.java b/BKUOnline/src/main/java/at/gv/egiz/mocca/id/PersonalIdentifier.java index 15f3084d..578d72ef 100644 --- a/BKUOnline/src/main/java/at/gv/egiz/mocca/id/PersonalIdentifier.java +++ b/BKUOnline/src/main/java/at/gv/egiz/mocca/id/PersonalIdentifier.java @@ -71,7 +71,7 @@ public class PersonalIdentifier { ByteArrayOutputStream os = new ByteArrayOutputStream(); Base64OutputStream bos = new Base64OutputStream(os); bos.write(md.digest((value + '+' + domainId).getBytes("ISO-8859-1"))); - bos.flush(); + bos.close(); return new PersonalIdentifier(domainId, os.toString("ASCII")); } catch (NoSuchAlgorithmException e) { throw new RuntimeException(e); |