734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
|
if (statePtr->flags & TLS_TCL_CALLBACK) {
return 0;
}
if (statePtr->flags & TLS_TCL_INIT
&& !SSL_is_init_finished(statePtr->ssl)) {
int errorCode;
if (Tls_WaitForConnect(statePtr, &errorCode) <= 0
&& errorCode == EAGAIN) {
return 0;
}
}
return mask;
}
|
|
|
|
|
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
|
if (statePtr->flags & TLS_TCL_CALLBACK) {
return 0;
}
if (statePtr->flags & TLS_TCL_INIT
&& !SSL_is_init_finished(statePtr->ssl)) {
int errorCode = 0;
if (Tls_WaitForConnect(statePtr, &errorCode) <= 0 && errorCode == EAGAIN) {
dprintf("Async flag could be set (didn't check) and errorCode == EAGAIN");
return 0;
}
}
return mask;
}
|