sectransp: fix EOF handling
Regression since the large refactor from 2022 Closes #11427
This commit is contained in:
parent
b87e0921e0
commit
9630fb9f2a
@ -860,6 +860,9 @@ static OSStatus bio_cf_in_read(SSLConnectionRef connection,
|
||||
}
|
||||
nread = 0;
|
||||
}
|
||||
else if(nread == 0) {
|
||||
rtn = errSSLClosedGraceful;
|
||||
}
|
||||
else if((size_t)nread < *dataLength) {
|
||||
rtn = errSSLWouldBlock;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user