summaryrefslogtreecommitdiff
path: root/libre/clementine/clementine-cryptopp6.patch
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-04-11 17:04:20 +0200
committerAndreas Grapentin <andreas@grapentin.org>2019-04-11 17:04:20 +0200
commitf2df8e7137d1c81e07e5a01cb110b62516602d42 (patch)
treea15f2956e6a2b540678fce501d2a312cfbf468b8 /libre/clementine/clementine-cryptopp6.patch
parent8aee0f2122c3541caae6c3d1c89df3212573ba90 (diff)
downloadabslibre-f2df8e7137d1c81e07e5a01cb110b62516602d42.tar.gz
abslibre-f2df8e7137d1c81e07e5a01cb110b62516602d42.tar.bz2
abslibre-f2df8e7137d1c81e07e5a01cb110b62516602d42.zip
libre/clementine: rebuilt
Diffstat (limited to 'libre/clementine/clementine-cryptopp6.patch')
-rw-r--r--libre/clementine/clementine-cryptopp6.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/libre/clementine/clementine-cryptopp6.patch b/libre/clementine/clementine-cryptopp6.patch
new file mode 100644
index 000000000..8197c38fe
--- /dev/null
+++ b/libre/clementine/clementine-cryptopp6.patch
@@ -0,0 +1,25 @@
+diff --git a/src/internet/spotify/spotifyblobdownloader.cpp b/src/internet/spotify/spotifyblobdownloader.cpp
+index e34577f5d..045aeeb8a 100644
+--- a/src/internet/spotify/spotifyblobdownloader.cpp
++++ b/src/internet/spotify/spotifyblobdownloader.cpp
+@@ -189,7 +189,7 @@ bool SpotifyBlobDownloader::CheckSignature(
+
+ try {
+ CryptoPP::ByteQueue bytes;
+- bytes.Put(reinterpret_cast<const byte*>(public_key_data.constData()),
++ bytes.Put(reinterpret_cast<const CryptoPP::byte*>(public_key_data.constData()),
+ public_key_data.size());
+ bytes.MessageEnd();
+
+@@ -204,9 +204,9 @@ bool SpotifyBlobDownloader::CheckSignature(
+ actual_filename.remove(kSignatureSuffix);
+
+ const bool result = verifier.VerifyMessage(
+- reinterpret_cast<const byte*>(file_data[actual_filename].constData()),
++ reinterpret_cast<const CryptoPP::byte*>(file_data[actual_filename].constData()),
+ file_data[actual_filename].size(),
+- reinterpret_cast<const byte*>(
++ reinterpret_cast<const CryptoPP::byte*>(
+ file_data[signature_filename].constData()),
+ file_data[signature_filename].size());
+ qLog(Debug) << "Verifying" << actual_filename << "against"