summaryrefslogtreecommitdiff
path: root/src/util/misc.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-07-09 12:10:38 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-07-09 12:10:38 +0200
commit709e2d6f5652ec90c194a4ec2b530bebc6f952cb (patch)
tree496b2f3899e1d5728ee9ae76095cc5056c317447 /src/util/misc.vala
parentf1353e9ffd34db5f755c7da0b3f9c10638fbfd38 (diff)
parent5c8be07095cc04a6d8a95204b0504fd7ab030154 (diff)
Merge branch 'release/0.28.3-1'0.28.3-1
Diffstat (limited to 'src/util/misc.vala')
-rw-r--r--src/util/misc.vala9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/util/misc.vala b/src/util/misc.vala
index cbc6dfa..6111ea3 100644
--- a/src/util/misc.vala
+++ b/src/util/misc.vala
@@ -72,15 +72,6 @@ public inline time_t now_time_t() {
return (time_t) now_sec();
}
-public string md5_binary(uint8 *buffer, size_t length) {
- assert(length != 0);
-
- Checksum md5 = new Checksum(ChecksumType.MD5);
- md5.update((uchar []) buffer, length);
-
- return md5.get_string();
-}
-
public string md5_file(File file) throws Error {
Checksum md5 = new Checksum(ChecksumType.MD5);
uint8[] buffer = new uint8[64 * 1024];