aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/security/credentials/composite/composite_credentials.c
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-06-24 16:14:02 -0700
committerGravatar GitHub <noreply@github.com>2016-06-24 16:14:02 -0700
commita5cae9bd646774f88cfa0781580f64eeb8df8594 (patch)
tree5bbef6b0c1594349603b8d57c0145260c7cef8c9 /src/core/lib/security/credentials/composite/composite_credentials.c
parent67ec53fe65c6380ddad5adefc2a98414f85932b4 (diff)
parent7d3d4d48cd3a0b916d7f561f6fa525886fb34d8a (diff)
Merge pull request #6798 from jboeuf/fix_3803
Fix #3803
Diffstat (limited to 'src/core/lib/security/credentials/composite/composite_credentials.c')
-rw-r--r--src/core/lib/security/credentials/composite/composite_credentials.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/lib/security/credentials/composite/composite_credentials.c b/src/core/lib/security/credentials/composite/composite_credentials.c
index 07db8bfd75..850e41e646 100644
--- a/src/core/lib/security/credentials/composite/composite_credentials.c
+++ b/src/core/lib/security/credentials/composite/composite_credentials.c
@@ -72,11 +72,12 @@ static void composite_call_md_context_destroy(
static void composite_call_metadata_cb(grpc_exec_ctx *exec_ctx, void *user_data,
grpc_credentials_md *md_elems,
size_t num_md,
- grpc_credentials_status status) {
+ grpc_credentials_status status,
+ const char *error_details) {
grpc_composite_call_credentials_metadata_context *ctx =
(grpc_composite_call_credentials_metadata_context *)user_data;
if (status != GRPC_CREDENTIALS_OK) {
- ctx->cb(exec_ctx, ctx->user_data, NULL, 0, status);
+ ctx->cb(exec_ctx, ctx->user_data, NULL, 0, status, error_details);
return;
}
@@ -101,7 +102,7 @@ static void composite_call_metadata_cb(grpc_exec_ctx *exec_ctx, void *user_data,
/* We're done!. */
ctx->cb(exec_ctx, ctx->user_data, ctx->md_elems->entries,
- ctx->md_elems->num_entries, GRPC_CREDENTIALS_OK);
+ ctx->md_elems->num_entries, GRPC_CREDENTIALS_OK, NULL);
composite_call_md_context_destroy(ctx);
}