aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/entities
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-05-09 21:14:35 +0200
committerChristian Schneppe <christian@pix-art.de>2017-05-09 21:14:35 +0200
commite803f3ffa5ab1d451a30164f23c1d2cc3cb147b0 (patch)
treedc17ed0828c4c27c30d2ab365c34919577f03420 /src/main/java/de/pixart/messenger/entities
parent39d48e727039bc6c81ab04694fb7929f8414df8d (diff)
make jingle implementation send file hash when using ft5
Diffstat (limited to 'src/main/java/de/pixart/messenger/entities')
-rw-r--r--src/main/java/de/pixart/messenger/entities/DownloadableFile.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/de/pixart/messenger/entities/DownloadableFile.java b/src/main/java/de/pixart/messenger/entities/DownloadableFile.java
index ee0694196..f0a3aa00c 100644
--- a/src/main/java/de/pixart/messenger/entities/DownloadableFile.java
+++ b/src/main/java/de/pixart/messenger/entities/DownloadableFile.java
@@ -9,7 +9,7 @@ public class DownloadableFile extends File {
private static final long serialVersionUID = 2247012619505115863L;
private long expectedSize = 0;
- private String sha1sum;
+ private byte[] sha1sum;
private byte[] aeskey;
private byte[] iv = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,
@@ -42,11 +42,11 @@ public class DownloadableFile extends File {
this.expectedSize = size;
}
- public String getSha1Sum() {
+ public byte[] getSha1Sum() {
return this.sha1sum;
}
- public void setSha1Sum(String sum) {
+ public void setSha1Sum(byte[] sum) {
this.sha1sum = sum;
}