diff options
author | madmaxoft <github@xoft.cz> | 2014-04-29 11:04:54 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-29 11:04:54 +0200 |
commit | ec33bbe2949010e1ed377b9dcc1ace56a0126bfe (patch) | |
tree | d6414c36a96b1ab361337ff1636b67f0b5b5a95f /src/Server.h | |
parent | Merged branch 'master' into SslWrappers. (diff) | |
download | cuberite-ec33bbe2949010e1ed377b9dcc1ace56a0126bfe.tar cuberite-ec33bbe2949010e1ed377b9dcc1ace56a0126bfe.tar.gz cuberite-ec33bbe2949010e1ed377b9dcc1ace56a0126bfe.tar.bz2 cuberite-ec33bbe2949010e1ed377b9dcc1ace56a0126bfe.tar.lz cuberite-ec33bbe2949010e1ed377b9dcc1ace56a0126bfe.tar.xz cuberite-ec33bbe2949010e1ed377b9dcc1ace56a0126bfe.tar.zst cuberite-ec33bbe2949010e1ed377b9dcc1ace56a0126bfe.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Server.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Server.h b/src/Server.h index 51c450ebd..3d76c8ccf 100644 --- a/src/Server.h +++ b/src/Server.h @@ -23,7 +23,7 @@ #pragma warning(disable:4702) #endif -#include "Crypto.h" +#include "PolarSSL++/RsaPrivateKey.h" #ifdef _MSC_VER #pragma warning(pop) @@ -109,7 +109,7 @@ public: // tolua_export /** Returns base64 encoded favicon data (obtained from favicon.png) */ const AString & GetFaviconData(void) const { return m_FaviconData; } - cRSAPrivateKey & GetPrivateKey(void) { return m_PrivateKey; } + cRsaPrivateKey & GetPrivateKey(void) { return m_PrivateKey; } const AString & GetPublicKeyDER(void) const { return m_PublicKeyDER; } bool ShouldAuthenticate(void) const { return m_ShouldAuthenticate; } @@ -182,7 +182,7 @@ private: bool m_bRestarting; /** The private key used for the assymetric encryption start in the protocols */ - cRSAPrivateKey m_PrivateKey; + cRsaPrivateKey m_PrivateKey; /** Public key for m_PrivateKey, ASN1-DER-encoded */ AString m_PublicKeyDER; |