diff options
author | Craig Tiller <ctiller@google.com> | 2015-08-18 12:51:05 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-08-18 12:51:05 -0700 |
commit | 128f4a9cfe34825543dab4e29c875b59af40e666 (patch) | |
tree | 323e79e6d7dd98ef6aa23f93ec20736d10abd9ce /src/core/security/security_context.c | |
parent | f2066040d2568e6ae90f6690fab91c63cd17fd6b (diff) | |
parent | 4f21d3549c8f652a152ae086a74dd8415ecca8fa (diff) |
Merge github.com:grpc/grpc into y12kdm3
Diffstat (limited to 'src/core/security/security_context.c')
-rw-r--r-- | src/core/security/security_context.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/security/security_context.c b/src/core/security/security_context.c index 1ef0fc9255..c1b434f302 100644 --- a/src/core/security/security_context.c +++ b/src/core/security/security_context.c @@ -204,8 +204,7 @@ int grpc_auth_context_set_peer_identity_property_name(grpc_auth_context *ctx, return 1; } -int grpc_auth_context_peer_is_authenticated( - const grpc_auth_context *ctx) { +int grpc_auth_context_peer_is_authenticated(const grpc_auth_context *ctx) { return ctx->peer_identity_property_name == NULL ? 0 : 1; } @@ -326,4 +325,3 @@ grpc_auth_metadata_processor *grpc_find_auth_metadata_processor_in_args( } return NULL; } - |