<---- i'm with stupid

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1752 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
imaginos
2010-02-12 23:06:19 +00:00
parent 558e277968
commit d6b2c4119b

View File

@@ -2116,7 +2116,7 @@ int Csock::GetPending()
// returns an int, they don't bother returning in error to notify us, so basically
// we have to always clear errors here generated by SSL_pending, otherwise the stack could
// have a lame error on it causing SSL_write to fail in certain instances.
#if OPENSSL_VERSION_NUMBER >= 0x00908
#if OPENSSL_VERSION_NUMBER >= 0x009080000
ERR_set_mark();
int iBytes = SSL_pending( m_ssl );
ERR_pop_to_mark();