diff options
author | Hongyu Chen <hongyu@google.com> | 2015-08-20 11:18:35 -0700 |
---|---|---|
committer | Hongyu Chen <hongyu@google.com> | 2015-08-20 11:18:35 -0700 |
commit | c389bd22b7a293c536e5cf8e489019d239b680c6 (patch) | |
tree | a517da608ea627bbf080454c79b531780c5a0a5b /src/core/security/security_context.c | |
parent | fdc1dc744baa194f220a5d103ca73dde290c7d4b (diff) | |
parent | 43a53ffa0a1fadb6bb90ec814ac43da24a6d2684 (diff) |
Merge remote-tracking branch 'upstream/master'
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; } - |