|
|
|
@ -120,17 +120,19 @@ const tsi_peer_property* tsi_peer_get_property_by_name(const tsi_peer* peer, |
|
|
|
|
|
|
|
|
|
void grpc_channel_security_connector_add_handshakers( |
|
|
|
|
grpc_channel_security_connector* connector, |
|
|
|
|
grpc_pollset_set* interested_parties, |
|
|
|
|
grpc_handshake_manager* handshake_mgr) { |
|
|
|
|
if (connector != nullptr) { |
|
|
|
|
connector->add_handshakers(connector, handshake_mgr); |
|
|
|
|
connector->add_handshakers(connector, interested_parties, handshake_mgr); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void grpc_server_security_connector_add_handshakers( |
|
|
|
|
grpc_server_security_connector* connector, |
|
|
|
|
grpc_pollset_set* interested_parties, |
|
|
|
|
grpc_handshake_manager* handshake_mgr) { |
|
|
|
|
if (connector != nullptr) { |
|
|
|
|
connector->add_handshakers(connector, handshake_mgr); |
|
|
|
|
connector->add_handshakers(connector, interested_parties, handshake_mgr); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -519,7 +521,7 @@ static void fake_channel_cancel_check_call_host( |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void fake_channel_add_handshakers( |
|
|
|
|
grpc_channel_security_connector* sc, |
|
|
|
|
grpc_channel_security_connector* sc, grpc_pollset_set* interested_parties, |
|
|
|
|
grpc_handshake_manager* handshake_mgr) { |
|
|
|
|
grpc_handshake_manager_add( |
|
|
|
|
handshake_mgr, |
|
|
|
@ -528,6 +530,7 @@ static void fake_channel_add_handshakers( |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void fake_server_add_handshakers(grpc_server_security_connector* sc, |
|
|
|
|
grpc_pollset_set* interested_parties, |
|
|
|
|
grpc_handshake_manager* handshake_mgr) { |
|
|
|
|
grpc_handshake_manager_add( |
|
|
|
|
handshake_mgr, |
|
|
|
@ -669,6 +672,7 @@ static void ssl_server_destroy(grpc_security_connector* sc) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void ssl_channel_add_handshakers(grpc_channel_security_connector* sc, |
|
|
|
|
grpc_pollset_set* interested_parties, |
|
|
|
|
grpc_handshake_manager* handshake_mgr) { |
|
|
|
|
grpc_ssl_channel_security_connector* c = |
|
|
|
|
reinterpret_cast<grpc_ssl_channel_security_connector*>(sc); |
|
|
|
@ -779,6 +783,7 @@ static bool try_fetch_ssl_server_credentials( |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void ssl_server_add_handshakers(grpc_server_security_connector* sc, |
|
|
|
|
grpc_pollset_set* interested_parties, |
|
|
|
|
grpc_handshake_manager* handshake_mgr) { |
|
|
|
|
grpc_ssl_server_security_connector* c = |
|
|
|
|
reinterpret_cast<grpc_ssl_server_security_connector*>(sc); |
|
|
|
|