зеркало из https://github.com/nextcloud/desktop.git
compilation fixes for windows
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Родитель
3304f9d2d3
Коммит
5b1238ddb1
|
@ -1,5 +1,12 @@
|
|||
#include "clientsideencryption.h"
|
||||
|
||||
#include <openssl/rsa.h>
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/pem.h>
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/engine.h>
|
||||
#include <openssl/rand.h>
|
||||
|
||||
#include "account.h"
|
||||
#include "capabilities.h"
|
||||
#include "networkjobs.h"
|
||||
|
@ -31,13 +38,6 @@
|
|||
#include <string>
|
||||
#include <algorithm>
|
||||
|
||||
#include <openssl/rsa.h>
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/pem.h>
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/engine.h>
|
||||
#include <openssl/rand.h>
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
QDebug operator<<(QDebug out, const std::string& str)
|
||||
|
|
|
@ -199,7 +199,7 @@ void OCC::HydrationJob::slotCheckFolderEncryptedMetadata(const QJsonDocument &js
|
|||
// TODO: the following code is borrowed from PropagateDownloadEncrypted (see HydrationJob::onNewConnection() for explanation of next steps)
|
||||
qCDebug(lcHydration) << "Metadata Received reading" << e2eMangledName();
|
||||
const QString filename = e2eMangledName();
|
||||
const FolderMetadata metadata(_account, json.toJson(QJsonDocument::Compact));
|
||||
const FolderMetadata metadata(_account, FolderMetadata::RequiredMetadataVersion::Version1, json.toJson(QJsonDocument::Compact));
|
||||
|
||||
if (metadata.isMetadataSetup()) {
|
||||
const QVector<EncryptedFile> files = metadata.files();
|
||||
|
|
|
@ -418,7 +418,7 @@ void VfsCfApi::scheduleHydrationJob(const QString &requestId, const QString &fol
|
|||
job->setJournal(params().journal);
|
||||
job->setRequestId(requestId);
|
||||
job->setFolderPath(folderPath);
|
||||
job->setIsEncryptedFile(record._isE2eEncrypted);
|
||||
job->setIsEncryptedFile(record.isE2eEncrypted());
|
||||
job->setE2eMangledName(record._e2eMangledName);
|
||||
connect(job, &HydrationJob::finished, this, &VfsCfApi::onHydrationJobFinished);
|
||||
d->hydrationJobs << job;
|
||||
|
|
Загрузка…
Ссылка в новой задаче