Add the number of bytes returned by SSL_pending to -[pendingBytes].
This commit is contained in:
parent
bbce7d7ed1
commit
22d29b2a53
1 changed files with 5 additions and 0 deletions
|
@ -225,6 +225,11 @@ static SSL_CTX *ctx;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (size_t)pendingBytes
|
||||||
|
{
|
||||||
|
return [super pendingBytes] + SSL_pending(ssl);
|
||||||
|
}
|
||||||
|
|
||||||
- (void)setPrivateKeyFile: (OFString*)file
|
- (void)setPrivateKeyFile: (OFString*)file
|
||||||
{
|
{
|
||||||
OFString *old = privateKeyFile;
|
OFString *old = privateKeyFile;
|
||||||
|
|
Reference in a new issue