summaryrefslogtreecommitdiffstats
path: root/Tools/ProtoProxy/Server.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-29 11:48:57 +0200
committermadmaxoft <github@xoft.cz>2014-04-29 11:48:57 +0200
commite39f2a21d550626b962a342b23e0adfb491e6e48 (patch)
tree0e046d10bb70e9b90435544a944a38e154836903 /Tools/ProtoProxy/Server.h
parentAdded missing initialization. (diff)
downloadcuberite-e39f2a21d550626b962a342b23e0adfb491e6e48.tar
cuberite-e39f2a21d550626b962a342b23e0adfb491e6e48.tar.gz
cuberite-e39f2a21d550626b962a342b23e0adfb491e6e48.tar.bz2
cuberite-e39f2a21d550626b962a342b23e0adfb491e6e48.tar.lz
cuberite-e39f2a21d550626b962a342b23e0adfb491e6e48.tar.xz
cuberite-e39f2a21d550626b962a342b23e0adfb491e6e48.tar.zst
cuberite-e39f2a21d550626b962a342b23e0adfb491e6e48.zip
Diffstat (limited to 'Tools/ProtoProxy/Server.h')
-rw-r--r--Tools/ProtoProxy/Server.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Tools/ProtoProxy/Server.h b/Tools/ProtoProxy/Server.h
index 85f817a4d..8adc7093d 100644
--- a/Tools/ProtoProxy/Server.h
+++ b/Tools/ProtoProxy/Server.h
@@ -9,6 +9,8 @@
#pragma once
+#include "PolarSSL++/RsaPrivateKey.h"
+
@@ -17,7 +19,7 @@
class cServer
{
SOCKET m_ListenSocket;
- cRSAPrivateKey m_PrivateKey;
+ cRsaPrivateKey m_PrivateKey;
AString m_PublicKeyDER;
short m_ConnectPort;
@@ -27,7 +29,7 @@ public:
int Init(short a_ListenPort, short a_ConnectPort);
void Run(void);
- cRSAPrivateKey & GetPrivateKey(void) { return m_PrivateKey; }
+ cRsaPrivateKey & GetPrivateKey(void) { return m_PrivateKey; }
const AString & GetPublicKeyDER (void) { return m_PublicKeyDER; }
short GetConnectPort(void) const { return m_ConnectPort; }