"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib/tls/tortls_nss.c" between
tor-0.4.6.3-rc.tar.gz and tor-0.4.6.4-rc.tar.gz

About: Tor is an anonymous Internet communication system - a network of virtual tunnels that allows people and groups to improve their privacy and security on the Internet. Release candidate.

tortls_nss.c  (tor-0.4.6.3-rc):tortls_nss.c  (tor-0.4.6.4-rc)
skipping to change at line 649 skipping to change at line 649
/* We don't support renegotiation with NSS. */ /* We don't support renegotiation with NSS. */
} }
void void
tor_tls_block_renegotiation(tor_tls_t *tls) tor_tls_block_renegotiation(tor_tls_t *tls)
{ {
tor_assert(tls); tor_assert(tls);
/* We don't support renegotiation with NSS. */ /* We don't support renegotiation with NSS. */
} }
void
tor_tls_assert_renegotiation_unblocked(tor_tls_t *tls)
{
tor_assert(tls);
/* We don't support renegotiation with NSS. */
}
int int
tor_tls_get_pending_bytes(tor_tls_t *tls) tor_tls_get_pending_bytes(tor_tls_t *tls)
{ {
tor_assert(tls); tor_assert(tls);
int n = SSL_DataPending(tls->ssl); int n = SSL_DataPending(tls->ssl);
if (n < 0) { if (n < 0) {
tls_log_errors(tls, LOG_WARN, LD_CRYPTO, "looking up pending bytes"); tls_log_errors(tls, LOG_WARN, LD_CRYPTO, "looking up pending bytes");
return 0; return 0;
} }
return (int)n; return (int)n;
 End of changes. 1 change blocks. 
7 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)