diff options
author | madmaxoft <github@xoft.cz> | 2014-05-02 19:34:28 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-05-02 19:34:28 +0200 |
commit | 839447f0bbdf97eb9b3c07f943647fa9c92b1e5b (patch) | |
tree | 3cde3e248dc73e19f3b241245fdff612842f9632 /Tools/ProtoProxy/Server.h | |
parent | A tiny speed improvement in ApplyFoodExhaustion() (diff) | |
parent | Fixed MagmaCube spawning. (diff) | |
download | cuberite-839447f0bbdf97eb9b3c07f943647fa9c92b1e5b.tar cuberite-839447f0bbdf97eb9b3c07f943647fa9c92b1e5b.tar.gz cuberite-839447f0bbdf97eb9b3c07f943647fa9c92b1e5b.tar.bz2 cuberite-839447f0bbdf97eb9b3c07f943647fa9c92b1e5b.tar.lz cuberite-839447f0bbdf97eb9b3c07f943647fa9c92b1e5b.tar.xz cuberite-839447f0bbdf97eb9b3c07f943647fa9c92b1e5b.tar.zst cuberite-839447f0bbdf97eb9b3c07f943647fa9c92b1e5b.zip |
Diffstat (limited to '')
-rw-r--r-- | Tools/ProtoProxy/Server.h | 6 |
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; } |