diff options
author | 2017-09-26 15:15:12 -0700 | |
---|---|---|
committer | 2017-09-26 15:15:12 -0700 | |
commit | 1a8bb821f4e978bc94f3cc4f87a8653d9de284e5 (patch) | |
tree | 88e45eb11c8861ebf4338970eb141b0c44dc4eeb /src/core/lib/surface/init_secure.c | |
parent | b4c01f9e2982d61723014f76c42fc059c554b084 (diff) |
Add tracer for plugin credentials.
Diffstat (limited to 'src/core/lib/surface/init_secure.c')
-rw-r--r-- | src/core/lib/surface/init_secure.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/lib/surface/init_secure.c b/src/core/lib/surface/init_secure.c index 2366c24910..8fbde3d1b4 100644 --- a/src/core/lib/surface/init_secure.c +++ b/src/core/lib/surface/init_secure.c @@ -25,6 +25,7 @@ #include "src/core/lib/debug/trace.h" #include "src/core/lib/security/credentials/credentials.h" +#include "src/core/lib/security/credentials/plugin/plugin_credentials.h" #include "src/core/lib/security/transport/auth_filters.h" #include "src/core/lib/security/transport/secure_endpoint.h" #include "src/core/lib/security/transport/security_connector.h" @@ -84,4 +85,7 @@ void grpc_register_security_filters(void) { maybe_prepend_server_auth_filter, NULL); } -void grpc_security_init() { grpc_security_register_handshaker_factories(); } +void grpc_security_init() { + grpc_security_register_handshaker_factories(); + grpc_register_tracer(&grpc_plugin_credentials_trace); +} |