diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-01-18 14:36:47 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-01-18 14:36:47 -0800 |
commit | ecd49345b5c500b9ea1da70b15c90b87da3ff55a (patch) | |
tree | 29afa5d2986d5c85a93e126c1d1f1cd1213d82ab /src/core/security | |
parent | cf1d6eb4ae1b48958454259f7e26bee9140cbf65 (diff) |
Use clang-format-3.5
Diffstat (limited to 'src/core/security')
-rw-r--r-- | src/core/security/auth.c | 5 | ||||
-rw-r--r-- | src/core/security/security_context.c | 8 |
2 files changed, 7 insertions, 6 deletions
diff --git a/src/core/security/auth.c b/src/core/security/auth.c index e36bf2382f..f743b25838 100644 --- a/src/core/security/auth.c +++ b/src/core/security/auth.c @@ -157,5 +157,6 @@ static void destroy_channel_elem(grpc_channel_element *elem) { } const grpc_channel_filter grpc_client_auth_filter = { - call_op, channel_op, sizeof(call_data), init_call_elem, destroy_call_elem, - sizeof(channel_data), init_channel_elem, destroy_channel_elem, "auth"}; + call_op, channel_op, sizeof(call_data), + init_call_elem, destroy_call_elem, sizeof(channel_data), + init_channel_elem, destroy_channel_elem, "auth"}; diff --git a/src/core/security/security_context.c b/src/core/security/security_context.c index 421b81fd36..3a70f44a0a 100644 --- a/src/core/security/security_context.c +++ b/src/core/security/security_context.c @@ -413,10 +413,10 @@ grpc_security_status grpc_ssl_server_security_context_create( (const unsigned char **)&config->pem_private_key, &config->pem_private_key_size, (const unsigned char **)&config->pem_cert_chain, - &config->pem_cert_chain_size, 1, - config->pem_root_certs, config->pem_root_certs_size, - GRPC_SSL_CIPHER_SUITES, alpn_protocol_strings, - alpn_protocol_string_lengths, num_alpn_protocols, &c->handshaker_factory); + &config->pem_cert_chain_size, 1, config->pem_root_certs, + config->pem_root_certs_size, GRPC_SSL_CIPHER_SUITES, + alpn_protocol_strings, alpn_protocol_string_lengths, num_alpn_protocols, + &c->handshaker_factory); if (result != TSI_OK) { gpr_log(GPR_ERROR, "Handshaker factory creation failed with %s.", tsi_result_to_string(result)); |