Fixed issue #110: wrong number of bytes returned.
This commit is contained in:
parent
8335ffa931
commit
e071de8a60
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user