aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/ext
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2018-06-19 10:00:16 -0700
committerGravatar GitHub <noreply@github.com>2018-06-19 10:00:16 -0700
commit9e3e64604d9a3bb4bea9202ede844e6f7b592eeb (patch)
tree94096871d2c5367e98bed42d2205a139fa99c711 /src/php/ext
parentddef0f6aed8c2093a0b1ec68e9e3487e1d1d5faf (diff)
parent68eff58df61bfde1b438d109c197f1a260230a68 (diff)
Merge pull request #15274 from JackOfMostTrades/verify-callback-core
Create verify_peer_options when creating ssl credentials to support a peer verification callback
Diffstat (limited to 'src/php/ext')
-rw-r--r--src/php/ext/grpc/channel_credentials.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/php/ext/grpc/channel_credentials.c b/src/php/ext/grpc/channel_credentials.c
index 10d7380ca1..af1372878d 100644
--- a/src/php/ext/grpc/channel_credentials.c
+++ b/src/php/ext/grpc/channel_credentials.c
@@ -158,7 +158,7 @@ PHP_METHOD(ChannelCredentials, createSsl) {
grpc_channel_credentials *creds = grpc_ssl_credentials_create(
pem_root_certs,
- pem_key_cert_pair.private_key == NULL ? NULL : &pem_key_cert_pair, NULL);
+ pem_key_cert_pair.private_key == NULL ? NULL : &pem_key_cert_pair, NULL, NULL);
zval *creds_object = grpc_php_wrap_channel_credentials(creds, hashstr, false
TSRMLS_CC);
efree(hashkey);