diff options
-rw-r--r-- | src/main/java/eu/siacs/conversations/persistance/FileBackend.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/persistance/FileBackend.java b/src/main/java/eu/siacs/conversations/persistance/FileBackend.java index 7bb2e943..8fcda7c2 100644 --- a/src/main/java/eu/siacs/conversations/persistance/FileBackend.java +++ b/src/main/java/eu/siacs/conversations/persistance/FileBackend.java @@ -451,11 +451,11 @@ public class FileBackend { return null; } ByteArrayOutputStream mByteArrayOutputStream = new ByteArrayOutputStream(); - Base64OutputStream mBase64OutputSttream = new Base64OutputStream( + Base64OutputStream mBase64OutputStream = new Base64OutputStream( mByteArrayOutputStream, Base64.DEFAULT); MessageDigest digest = MessageDigest.getInstance("SHA-1"); DigestOutputStream mDigestOutputStream = new DigestOutputStream( - mBase64OutputSttream, digest); + mBase64OutputStream, digest); if (!bm.compress(format, 75, mDigestOutputStream)) { return null; } |