summaryrefslogtreecommitdiffstats
path: root/src/libktorrent/mse/rc4encryptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libktorrent/mse/rc4encryptor.h')
-rw-r--r--src/libktorrent/mse/rc4encryptor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libktorrent/mse/rc4encryptor.h b/src/libktorrent/mse/rc4encryptor.h
index 650b54e..c36b9c6 100644
--- a/src/libktorrent/mse/rc4encryptor.h
+++ b/src/libktorrent/mse/rc4encryptor.h
@@ -22,6 +22,7 @@
#include <util/sha1hash.h>
#include <util/constants.h>
+#include <libktorrent_export.h>
using bt::Uint8;
using bt::Uint32;
@@ -31,7 +32,7 @@ namespace mse
/**
* Helper class to do the actual encryption / decryption
*/
- class RC4
+ class LIBKTORRENT_EXPORT RC4
{
Uint8 i,j;
Uint8 s[256];
@@ -50,7 +51,7 @@ namespace mse
* This class has a static encryption buffer, which makes it not thread safe
* because the buffer is not protected by mutexes.
*/
- class RC4Encryptor
+ class LIBKTORRENT_EXPORT RC4Encryptor
{
RC4 enc,dec;
public: