summaryrefslogtreecommitdiffstats
path: root/src/PolarSSL++/SslContext.h
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2017-07-20 13:19:18 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2017-07-21 15:41:51 +0200
commita56cfd1f42663856e346a26cbad401aec07bed91 (patch)
tree2bbdef2d6d09e8625ceaddba443b3a97b2febb5e /src/PolarSSL++/SslContext.h
parentFastRandom: Remove discrepancy between arg and return value type. (#3846) (diff)
downloadcuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar
cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar.gz
cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar.bz2
cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar.lz
cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar.xz
cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar.zst
cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.zip
Diffstat (limited to '')
-rw-r--r--src/PolarSSL++/SslContext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PolarSSL++/SslContext.h b/src/PolarSSL++/SslContext.h
index 27f9dd674..0588122ba 100644
--- a/src/PolarSSL++/SslContext.h
+++ b/src/PolarSSL++/SslContext.h
@@ -44,7 +44,7 @@ public:
/** Initializes the context for use as a server or client.
Returns 0 on success, PolarSSL error on failure. */
- int Initialize(bool a_IsClient, const SharedPtr<cCtrDrbgContext> & a_CtrDrbg = SharedPtr<cCtrDrbgContext>());
+ int Initialize(bool a_IsClient, const std::shared_ptr<cCtrDrbgContext> & a_CtrDrbg = {});
/** Returns true if the object has been initialized properly. */
bool IsValid(void) const { return m_IsValid; }
@@ -98,7 +98,7 @@ protected:
bool m_IsValid;
/** The random generator to use */
- SharedPtr<cCtrDrbgContext> m_CtrDrbg;
+ std::shared_ptr<cCtrDrbgContext> m_CtrDrbg;
/** The SSL context that PolarSSL uses. */
ssl_context m_Ssl;