Some versions of openssl have an SSL_pending function that erroneously
commit873564ea9ce6e9ec5a07bc2a42ffd54e34b97c72
authorNick Mathewson <nickm@torproject.org>
Mon, 26 Apr 2004 23:19:21 +0000 (26 23:19 +0000)
committerNick Mathewson <nickm@torproject.org>
Mon, 26 Apr 2004 23:19:21 +0000 (26 23:19 +0000)
tree5598e9250682bf1d53bc60114bf890b2160ad74c
parent06624df622e6278d2f220ed538db8df0eabc5fe1
Some versions of openssl have an SSL_pending function that erroneously
returns bytes when there is a non-application record pending.

I have no idea when/why this would even happen, but let's catch it and
make sure tor_tls_get_pending_bytes stays correct.

svn:r1727
src/common/tortls.c