diff options
author | 2015-08-25 17:47:55 -0700 | |
---|---|---|
committer | 2015-08-25 17:47:55 -0700 | |
commit | c5b570f97efb29db5b624e2dc360aa7e6b03780f (patch) | |
tree | e621698141a557f3657b745f73bd6d8dd92826c1 /src/core/surface/secure_channel_create.c | |
parent | 8dbefbee0192dbb3dbf095e18ba4c72ae35922c6 (diff) |
Adding void* at then end of security related method in order to have a stable ABI.
Diffstat (limited to 'src/core/surface/secure_channel_create.c')
-rw-r--r-- | src/core/surface/secure_channel_create.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/surface/secure_channel_create.c b/src/core/surface/secure_channel_create.c index eccee24698..35b60bdbef 100644 --- a/src/core/surface/secure_channel_create.c +++ b/src/core/surface/secure_channel_create.c @@ -185,7 +185,8 @@ static const grpc_subchannel_factory_vtable subchannel_factory_vtable = { - perform handshakes */ grpc_channel *grpc_secure_channel_create(grpc_credentials *creds, const char *target, - const grpc_channel_args *args) { + const grpc_channel_args *args, + void *reserved) { grpc_channel *channel; grpc_arg connector_arg; grpc_channel_args *args_copy; @@ -198,6 +199,7 @@ grpc_channel *grpc_secure_channel_create(grpc_credentials *creds, const grpc_channel_filter *filters[MAX_FILTERS]; int n = 0; + GPR_ASSERT(reserved == NULL); if (grpc_find_security_connector_in_args(args) != NULL) { gpr_log(GPR_ERROR, "Cannot set security context in channel args."); return grpc_lame_client_channel_create( |