summaryrefslogtreecommitdiffstats
path: root/src/PolarSSL++
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-05-01 23:20:00 +0200
committermadmaxoft <github@xoft.cz>2014-05-01 23:20:00 +0200
commit6bdd3ee35e85768634e41af86a99bbdd933ffb3a (patch)
tree5481ae6b270a197f4a57341dfc42fb98343022b0 /src/PolarSSL++
parentMerge branch 'master' into SslWebAdmin (diff)
parentFixed a warning in Noise. (diff)
downloadcuberite-6bdd3ee35e85768634e41af86a99bbdd933ffb3a.tar
cuberite-6bdd3ee35e85768634e41af86a99bbdd933ffb3a.tar.gz
cuberite-6bdd3ee35e85768634e41af86a99bbdd933ffb3a.tar.bz2
cuberite-6bdd3ee35e85768634e41af86a99bbdd933ffb3a.tar.lz
cuberite-6bdd3ee35e85768634e41af86a99bbdd933ffb3a.tar.xz
cuberite-6bdd3ee35e85768634e41af86a99bbdd933ffb3a.tar.zst
cuberite-6bdd3ee35e85768634e41af86a99bbdd933ffb3a.zip
Diffstat (limited to 'src/PolarSSL++')
-rw-r--r--src/PolarSSL++/CallbackSslContext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/PolarSSL++/CallbackSslContext.h b/src/PolarSSL++/CallbackSslContext.h
index 4e4c1ed7f..3e6edc5f4 100644
--- a/src/PolarSSL++/CallbackSslContext.h
+++ b/src/PolarSSL++/CallbackSslContext.h
@@ -23,6 +23,9 @@ public:
class cDataCallbacks
{
public:
+ // Force a virtual destructor in descendants:
+ virtual ~cDataCallbacks() {}
+
/** Called when PolarSSL wants to read encrypted data from the SSL peer.
The returned value is the number of bytes received, or a PolarSSL error on failure.
The implementation can return POLARSSL_ERR_NET_WANT_READ or POLARSSL_ERR_NET_WANT_WRITE to indicate