summaryrefslogtreecommitdiffstats
path: root/src/PolarSSL++
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-24 22:43:20 +0200
committermadmaxoft <github@xoft.cz>2014-04-24 22:43:20 +0200
commit4f49c978cf6b130ede105e9a858831806e51d118 (patch)
tree842d9b175d182e3880f2b0eb60f0380df5b8b707 /src/PolarSSL++
parentcByteBuffer uses void * instead of char * in data interface. (diff)
downloadcuberite-4f49c978cf6b130ede105e9a858831806e51d118.tar
cuberite-4f49c978cf6b130ede105e9a858831806e51d118.tar.gz
cuberite-4f49c978cf6b130ede105e9a858831806e51d118.tar.bz2
cuberite-4f49c978cf6b130ede105e9a858831806e51d118.tar.lz
cuberite-4f49c978cf6b130ede105e9a858831806e51d118.tar.xz
cuberite-4f49c978cf6b130ede105e9a858831806e51d118.tar.zst
cuberite-4f49c978cf6b130ede105e9a858831806e51d118.zip
Diffstat (limited to 'src/PolarSSL++')
-rw-r--r--src/PolarSSL++/CtrDrbgContext.h2
-rw-r--r--src/PolarSSL++/X509Cert.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/PolarSSL++/CtrDrbgContext.h b/src/PolarSSL++/CtrDrbgContext.h
index 987f4dd72..e9a1e17e2 100644
--- a/src/PolarSSL++/CtrDrbgContext.h
+++ b/src/PolarSSL++/CtrDrbgContext.h
@@ -42,7 +42,7 @@ public:
bool IsValid(void) const { return m_IsValid; }
/** Returns the internal context ptr. Only use in PolarSSL API calls. */
- __declspec(deprecated) ctr_drbg_context * Get(void) { return &m_CtrDrbg; }
+ OBSOLETE ctr_drbg_context * Get(void) { return &m_CtrDrbg; }
protected:
/** The entropy source used for generating the random */
diff --git a/src/PolarSSL++/X509Cert.h b/src/PolarSSL++/X509Cert.h
index b0450510d..5ef19c324 100644
--- a/src/PolarSSL++/X509Cert.h
+++ b/src/PolarSSL++/X509Cert.h
@@ -26,7 +26,7 @@ public:
int Parse(const void * a_CertContents, size_t a_Size);
/** Returns the internal cert ptr. Only use in PolarSSL API calls. */
- __declspec(deprecated) x509_crt * Get(void) { return &m_Cert; }
+ OBSOLETE x509_crt * Get(void) { return &m_Cert; }
protected:
x509_crt m_Cert;