1
0

Fixed warning in cCallbackSslContext::cDataCallbacks.

This commit is contained in:
madmaxoft 2014-05-01 22:41:41 +02:00
parent e175ae551c
commit a6eba4ff8b

View File

@ -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