aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/security/security_context.c
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2015-01-15 23:16:20 -0800
committerGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2015-01-15 23:16:20 -0800
commit41325505e3606ce5f2a5565158a38298f3daa78a (patch)
treed2d28237003e311694fb2be531128d6505b4d06a /src/core/security/security_context.c
parentcffd920c3f64948df4106a5a455d808c4946842c (diff)
parentb222b4d978c19a786838b9d616f98c7d36be2deb (diff)
Merge pull request #79 from jboeuf/tsi_size_type
Changing size type in Transport Security (TSI) from uint32_t to size_t
Diffstat (limited to 'src/core/security/security_context.c')
-rw-r--r--src/core/security/security_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/security/security_context.c b/src/core/security/security_context.c
index fc722f2d82..421b81fd36 100644
--- a/src/core/security/security_context.c
+++ b/src/core/security/security_context.c
@@ -411,9 +411,9 @@ grpc_security_status grpc_ssl_server_security_context_create(
c->base.vtable = &ssl_server_vtable;
result = tsi_create_ssl_server_handshaker_factory(
(const unsigned char **)&config->pem_private_key,
- (const gpr_uint32 *)&config->pem_private_key_size,
+ &config->pem_private_key_size,
(const unsigned char **)&config->pem_cert_chain,
- (const gpr_uint32 *)&config->pem_cert_chain_size, 1,
+ &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);