diff options
| author | Jonah BrĂ¼chert <jbb@kaidan.im> | 2023-03-09 13:30:58 +0100 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2023-03-09 15:13:17 +0100 |
| commit | c5642526513363608d538417d0e50e00f9cd5e46 (patch) | |
| tree | 92b87f711abf59fcbbc41e7b63f2f8ca4c159ce9 /src/client/QXmppFileEncryption.h | |
| parent | 2a39ea6743ea4b7075184cd37c16fec5c4226009 (diff) | |
| download | qxmpp-c5642526513363608d538417d0e50e00f9cd5e46.tar.gz | |
Fix compilation on MSVC 2019
Diffstat (limited to 'src/client/QXmppFileEncryption.h')
| -rw-r--r-- | src/client/QXmppFileEncryption.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/QXmppFileEncryption.h b/src/client/QXmppFileEncryption.h index 5bd52c7e..e50bf83c 100644 --- a/src/client/QXmppFileEncryption.h +++ b/src/client/QXmppFileEncryption.h @@ -23,9 +23,9 @@ enum Direction { Decode, }; -QByteArray process(const QByteArray &data, Cipher cipherConfig, Direction direction, const QByteArray &key, const QByteArray &iv); -QByteArray generateKey(Cipher cipher); -QByteArray generateInitializationVector(Cipher); +QXMPP_EXPORT QByteArray process(const QByteArray &data, Cipher cipherConfig, Direction direction, const QByteArray &key, const QByteArray &iv); +QXMPP_EXPORT QByteArray generateKey(Cipher cipher); +QXMPP_EXPORT QByteArray generateInitializationVector(Cipher); // export for tests class QXMPP_EXPORT EncryptionDevice : public QIODevice @@ -50,7 +50,7 @@ private: std::unique_ptr<QCA::Cipher> m_cipher; }; -class DecryptionDevice : public QIODevice +class QXMPP_EXPORT DecryptionDevice : public QIODevice { public: DecryptionDevice(std::unique_ptr<QIODevice> output, Cipher config, const QByteArray &key, const QByteArray &iv); |
