Skip to content
Snippets Groups Projects
Commit cf4124e0 authored by Julien Boeuf's avatar Julien Boeuf
Browse files

Putting tsi util in header so that it can be used elsewhere.

parent ad654aca
Branches
Tags
No related merge requests found
......@@ -82,7 +82,7 @@ static const char *ssl_cipher_suites(void) {
/* -- Common methods. -- */
/* Returns the first property with that name. */
static const tsi_peer_property *tsi_peer_get_property_by_name(
const tsi_peer_property *tsi_peer_get_property_by_name(
const tsi_peer *peer, const char *name) {
size_t i;
if (peer == NULL) return NULL;
......
......@@ -198,4 +198,8 @@ typedef struct {
grpc_security_status grpc_ssl_server_security_connector_create(
const grpc_ssl_server_config *config, grpc_security_connector **sc);
/* Util. */
const tsi_peer_property *tsi_peer_get_property_by_name(
const tsi_peer *peer, const char *name);
#endif /* GRPC_INTERNAL_CORE_SECURITY_SECURITY_CONNECTOR_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment