Since we removed SSL renegotiation, there's no longer any reason to
keep track of the amount of data transferred over the link.
Daniel Gustafsson
Discussion: <
FEA7F89C-ECDF-4799-B789-
2F8DDCBA467F@yesql.se>
return -1;
}
- port->count = 0;
-
/* Get client certificate, if available. */
port->peer = SSL_get_peer_certificate(port->ssl);
switch (err)
{
case SSL_ERROR_NONE:
- port->count += n;
+ /* a-ok */
break;
case SSL_ERROR_WANT_READ:
*waitfor = WL_SOCKET_READABLE;
switch (err)
{
case SSL_ERROR_NONE:
- port->count += n;
+ /* a-ok */
break;
case SSL_ERROR_WANT_READ:
*waitfor = WL_SOCKET_READABLE;
#ifdef USE_OPENSSL
SSL *ssl;
X509 *peer;
- unsigned long count;
#endif
} Port;