summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/md5.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-07-05 14:02:59 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-07-05 14:02:59 +0100
commitcec8c646c79e40d928464b08a6f2e3ea62bb1611 (patch)
treef6177e2daf52eb46cb3dd3be318b4c9d95125fcd /apt-pkg/contrib/md5.cc
parentf5b622ed48fdbe235d81b61b3edd8dbb84d9cc9c (diff)
parent64767f14595065d1c0f37c1b4a6047032b5c5ed7 (diff)
merge lp:~mvo/apt/sha512-template to get fixes for the
sha1/md5 verifiation (closes: #632520)
Diffstat (limited to 'apt-pkg/contrib/md5.cc')
-rw-r--r--apt-pkg/contrib/md5.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/md5.cc b/apt-pkg/contrib/md5.cc
index 6c60ffd74..6820d3951 100644
--- a/apt-pkg/contrib/md5.cc
+++ b/apt-pkg/contrib/md5.cc
@@ -298,7 +298,7 @@ MD5SumValue MD5Summation::Result()
}
MD5SumValue V;
- V.Set((char *)buf);
+ V.Set((unsigned char *)buf);
return V;
}
/*}}}*/