Adjust to recent ObjFW changes.
This commit is contained in:
parent
2152c84f3a
commit
02fc41d7ae
1 changed files with 4 additions and 4 deletions
|
@ -197,7 +197,7 @@ static SSL_CTX *ctx;
|
||||||
@throw [OFNotConnectedException newWithClass: isa
|
@throw [OFNotConnectedException newWithClass: isa
|
||||||
socket: self];
|
socket: self];
|
||||||
|
|
||||||
if (isAtEndOfStream) {
|
if (atEndOfStream) {
|
||||||
OFReadFailedException *e;
|
OFReadFailedException *e;
|
||||||
|
|
||||||
e = [OFReadFailedException newWithClass: isa
|
e = [OFReadFailedException newWithClass: isa
|
||||||
|
@ -218,7 +218,7 @@ static SSL_CTX *ctx;
|
||||||
requestedLength: length];
|
requestedLength: length];
|
||||||
|
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
isAtEndOfStream = YES;
|
atEndOfStream = YES;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -233,7 +233,7 @@ static SSL_CTX *ctx;
|
||||||
@throw [OFNotConnectedException newWithClass: isa
|
@throw [OFNotConnectedException newWithClass: isa
|
||||||
socket: self];
|
socket: self];
|
||||||
|
|
||||||
if (isAtEndOfStream) {
|
if (atEndOfStream) {
|
||||||
OFWriteFailedException *e;
|
OFWriteFailedException *e;
|
||||||
|
|
||||||
e = [OFWriteFailedException newWithClass: isa
|
e = [OFWriteFailedException newWithClass: isa
|
||||||
|
@ -290,7 +290,7 @@ static SSL_CTX *ctx;
|
||||||
@throw [OFInvalidArgumentException newWithClass: isa
|
@throw [OFInvalidArgumentException newWithClass: isa
|
||||||
selector: _cmd];
|
selector: _cmd];
|
||||||
|
|
||||||
if (SSL_session_reused(ssl) ^ !isListening) {
|
if (SSL_session_reused(ssl) ^ !listening) {
|
||||||
/*
|
/*
|
||||||
* We are either client or the session has been resumed
|
* We are either client or the session has been resumed
|
||||||
* => we have sent the finished message
|
* => we have sent the finished message
|
||||||
|
|
Reference in a new issue