clementine-cryptopp6.patch 1.2 KB

1234567891011121314151617181920212223242526
  1. diff --git a/src/internet/spotify/spotifyblobdownloader.cpp b/src/internet/spotify/spotifyblobdownloader.cpp
  2. index e34577f5d..045aeeb8a 100644
  3. --- a/src/internet/spotify/spotifyblobdownloader.cpp
  4. +++ b/src/internet/spotify/spotifyblobdownloader.cpp
  5. @@ -189,7 +189,7 @@ bool SpotifyBlobDownloader::CheckSignature(
  6. try {
  7. CryptoPP::ByteQueue bytes;
  8. - bytes.Put(reinterpret_cast<const byte*>(public_key_data.constData()),
  9. + bytes.Put(reinterpret_cast<const CryptoPP::byte*>(public_key_data.constData()),
  10. public_key_data.size());
  11. bytes.MessageEnd();
  12. @@ -204,9 +204,9 @@ bool SpotifyBlobDownloader::CheckSignature(
  13. actual_filename.remove(kSignatureSuffix);
  14. const bool result = verifier.VerifyMessage(
  15. - reinterpret_cast<const byte*>(file_data[actual_filename].constData()),
  16. + reinterpret_cast<const CryptoPP::byte*>(file_data[actual_filename].constData()),
  17. file_data[actual_filename].size(),
  18. - reinterpret_cast<const byte*>(
  19. + reinterpret_cast<const CryptoPP::byte*>(
  20. file_data[signature_filename].constData()),
  21. file_data[signature_filename].size());
  22. qLog(Debug) << "Verifying" << actual_filename << "against"