222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
|
222
223
224
225
226
227
228
229
230
231
232
233
234
235
|
-
-
-
-
|
*errorCodePtr = 0;
bytesRead = 0;
}
return(0);
}
if (statePtr->flags & TLS_TCL_INIT) {
statePtr->flags &= ~(TLS_TCL_INIT);
}
/*
* We need to clear the SSL error stack now because we sometimes reach
* this function with leftover errors in the stack. If BIO_read
* returns -1 and intends EAGAIN, there is a leftover error, it will be
* misconstrued as an error, not EAGAIN.
*
* Alternatively, we may want to handle the <0 return codes from
|