Adjust to ObjFW changes
This commit is contained in:
parent
cd3d39a9c2
commit
5af409d4a5
2 changed files with 6 additions and 3 deletions
|
@ -117,7 +117,8 @@
|
|||
{
|
||||
self = [super initWithHost: host
|
||||
port: port
|
||||
socket: socket];
|
||||
socket: socket
|
||||
errNo: 0];
|
||||
|
||||
_SSLError = SSLError;
|
||||
_verifyResult = verifyResult;
|
||||
|
|
|
@ -342,7 +342,8 @@ locking_callback(int mode, int n, const char *file, int line)
|
|||
return 0;
|
||||
|
||||
@throw [OFReadFailedException exceptionWithObject: self
|
||||
requestedLength: length];
|
||||
requestedLength: length
|
||||
errNo: 0];
|
||||
}
|
||||
|
||||
if (ret == 0)
|
||||
|
@ -367,7 +368,8 @@ locking_callback(int mode, int n, const char *file, int line)
|
|||
|
||||
if (SSL_write(_SSL, buffer, (int)length) < length)
|
||||
@throw [OFWriteFailedException exceptionWithObject: self
|
||||
requestedLength: length];
|
||||
requestedLength: length
|
||||
errNo: 0];
|
||||
}
|
||||
|
||||
- (bool)hasDataInReadBuffer
|
||||
|
|
Reference in a new issue