[Pkg-owncloud-commits] [owncloud-client] 27/78: Checksums: Use SHA1 like in >=2.2
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri Jun 24 16:29:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 46e4ec3183589fd49f8305c19b8b3cfede0fe9ec
Author: Markus Goetz <markus at woboq.com>
Date: Fri May 20 16:31:47 2016 +0200
Checksums: Use SHA1 like in >=2.2
---
src/libsync/propagateupload.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/libsync/propagateupload.cpp b/src/libsync/propagateupload.cpp
index 92439b6..6ec25ab 100644
--- a/src/libsync/propagateupload.cpp
+++ b/src/libsync/propagateupload.cpp
@@ -222,8 +222,9 @@ void PropagateUploadFileQNAM::slotComputeContentChecksum()
QByteArray contentChecksumType;
// We currently only do content checksums for the particular .eml case
// This should be done more generally in the future!
- if (filePath.endsWith(QLatin1String(".eml"), Qt::CaseInsensitive)) {
- contentChecksumType = "MD5";
+ if (filePath.endsWith(QLatin1String(".eml"), Qt::CaseInsensitive)
+ || filePath.endsWith(QLatin1String(".msg"), Qt::CaseInsensitive)) {
+ contentChecksumType = "SHA1";
}
// Maybe the discovery already computed the checksum?
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list