diff options
author | Craig Tiller <ctiller@google.com> | 2015-05-19 22:20:57 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-05-19 22:20:57 -0700 |
commit | 037d8700a7be5576e5904d0ec7992fcde53ed364 (patch) | |
tree | d5f77fac4fb45657d90fdc0f512b83dd602bf7de /src/core/security | |
parent | 2dea0c1cc9a5f44780e4439f9f4e98646b93cd7f (diff) | |
parent | aa253c37ec5fb6bdf24174be65519f958aba2b27 (diff) |
Merge github.com:grpc/grpc into we-dont-need-no-backup
Diffstat (limited to 'src/core/security')
-rw-r--r-- | src/core/security/security_connector.c | 2 | ||||
-rw-r--r-- | src/core/security/security_connector.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/core/security/security_connector.c b/src/core/security/security_connector.c index 61cb20f6b9..b17e0e0dfa 100644 --- a/src/core/security/security_connector.c +++ b/src/core/security/security_connector.c @@ -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; diff --git a/src/core/security/security_connector.h b/src/core/security/security_connector.h index 47abe05cff..87b7ca9b8b 100644 --- a/src/core/security/security_connector.h +++ b/src/core/security/security_connector.h @@ -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 */ |