summaryrefslogtreecommitdiffstats
path: root/src/mbedTLS++/SslContext.h
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
committerAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
commitcb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a (patch)
treef647b20e1823f1846af88e832cf82a4a02e96e69 /src/mbedTLS++/SslContext.h
parentImprove clang-format config file, remove automatically enforced code style from contrib guide. (diff)
downloadcuberite-clang-format-codebase.tar
cuberite-clang-format-codebase.tar.gz
cuberite-clang-format-codebase.tar.bz2
cuberite-clang-format-codebase.tar.lz
cuberite-clang-format-codebase.tar.xz
cuberite-clang-format-codebase.tar.zst
cuberite-clang-format-codebase.zip
Diffstat (limited to 'src/mbedTLS++/SslContext.h')
-rw-r--r--src/mbedTLS++/SslContext.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mbedTLS++/SslContext.h b/src/mbedTLS++/SslContext.h
index b4b184403..13baf2cfa 100644
--- a/src/mbedTLS++/SslContext.h
+++ b/src/mbedTLS++/SslContext.h
@@ -34,7 +34,7 @@ data comes into the system:
*/
class cSslContext abstract
{
-public:
+ public:
/** Creates a new uninitialized context */
cSslContext(void);
@@ -88,8 +88,7 @@ public:
Returns 0 on success, mbedTLS error code on failure. */
int NotifyClose(void);
-protected:
-
+ protected:
/** Configuration of the SSL context. */
std::shared_ptr<const cSslConfig> m_Config;
@@ -119,8 +118,4 @@ protected:
/** Called when mbedTLS wants to write encrypted data. */
virtual int SendEncrypted(const unsigned char * a_Buffer, size_t a_NumBytes) = 0;
-} ;
-
-
-
-
+};