|
|
|
@ -389,22 +389,22 @@ static void fake_channel_add_handshakers( |
|
|
|
|
grpc_exec_ctx *exec_ctx, grpc_channel_security_connector *sc, |
|
|
|
|
grpc_handshake_manager *handshake_mgr) { |
|
|
|
|
grpc_handshake_manager_add( |
|
|
|
|
handshake_mgr, grpc_security_handshaker_create( |
|
|
|
|
exec_ctx, |
|
|
|
|
tsi_create_adapter_handshaker( |
|
|
|
|
tsi_create_fake_handshaker(true /* is_client */)), |
|
|
|
|
&sc->base)); |
|
|
|
|
handshake_mgr, |
|
|
|
|
grpc_security_handshaker_create( |
|
|
|
|
exec_ctx, tsi_create_adapter_handshaker( |
|
|
|
|
tsi_create_fake_handshaker(true /* is_client */)), |
|
|
|
|
&sc->base)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void fake_server_add_handshakers(grpc_exec_ctx *exec_ctx, |
|
|
|
|
grpc_server_security_connector *sc, |
|
|
|
|
grpc_handshake_manager *handshake_mgr) { |
|
|
|
|
grpc_handshake_manager_add( |
|
|
|
|
handshake_mgr, grpc_security_handshaker_create( |
|
|
|
|
exec_ctx, |
|
|
|
|
tsi_create_adapter_handshaker( |
|
|
|
|
tsi_create_fake_handshaker(false /* is_client */)), |
|
|
|
|
&sc->base)); |
|
|
|
|
handshake_mgr, |
|
|
|
|
grpc_security_handshaker_create( |
|
|
|
|
exec_ctx, tsi_create_adapter_handshaker( |
|
|
|
|
tsi_create_fake_handshaker(false /* is_client */)), |
|
|
|
|
&sc->base)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static grpc_security_connector_vtable fake_channel_vtable = { |
|
|
|
|