From 68eff58df61bfde1b438d109c197f1a260230a68 Mon Sep 17 00:00:00 2001 From: Ian Haken Date: Thu, 26 Oct 2017 14:34:15 -0700 Subject: Create verify_peer_options when creating ssl credentials in order to expose a verification callback option. These options are not yet exposed to languages outside of core. --- src/php/ext/grpc/channel_credentials.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/php') 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); -- cgit v1.2.3