Fixed issue #110: wrong number of bytes returned.

This commit is contained in:
Vincent Richard 2015-05-05 18:47:59 +02:00
parent 8335ffa931
commit e071de8a60

View File

@ -547,7 +547,7 @@ int TLSSocket_OpenSSL::bio_write(BIO* bio, const char* buf, int len)
return -1; return -1;
} }
return static_cast <int>(len); return static_cast <int>(n);
} }
catch (exception& e) catch (exception& e)
{ {