|
|
@ -232,10 +232,8 @@ static grpc_error* on_handshake_next_done_locked( |
|
|
|
const unsigned char* bytes_to_send, size_t bytes_to_send_size, |
|
|
|
const unsigned char* bytes_to_send, size_t bytes_to_send_size, |
|
|
|
tsi_handshaker_result* handshaker_result) { |
|
|
|
tsi_handshaker_result* handshaker_result) { |
|
|
|
grpc_error* error = GRPC_ERROR_NONE; |
|
|
|
grpc_error* error = GRPC_ERROR_NONE; |
|
|
|
|
|
|
|
|
|
|
|
// Handshaker was shutdown.
|
|
|
|
// Handshaker was shutdown.
|
|
|
|
if (h->shutdown) { |
|
|
|
if (h->shutdown) { |
|
|
|
security_handshake_failed_locked(h, GRPC_ERROR_REF(error)); |
|
|
|
|
|
|
|
return GRPC_ERROR_CREATE_FROM_STATIC_STRING("Handshaker shutdown"); |
|
|
|
return GRPC_ERROR_CREATE_FROM_STATIC_STRING("Handshaker shutdown"); |
|
|
|
} |
|
|
|
} |
|
|
|
// Read more if we need to.
|
|
|
|
// Read more if we need to.
|
|
|
|