Update to recent ObjFW changes.
This commit is contained in:
parent
682fa461ed
commit
8eeb6a72d1
2 changed files with 4 additions and 4 deletions
|
@ -325,12 +325,12 @@ locking_callback(int mode, int n, const char *file, int line)
|
|||
requestedLength: length];
|
||||
}
|
||||
|
||||
- (size_t)pendingBytes
|
||||
- (size_t)numberOfBytesInReadBuffer
|
||||
{
|
||||
if (_SSL == NULL)
|
||||
return [super pendingBytes];
|
||||
return [super numberOfBytesInReadBuffer];
|
||||
|
||||
return [super pendingBytes] + SSL_pending(_SSL);
|
||||
return [super numberOfBytesInReadBuffer] + SSL_pending(_SSL);
|
||||
}
|
||||
|
||||
- (void)setPrivateKeyFile: (OFString*)privateKeyFile
|
||||
|
|
Reference in a new issue