aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/ext
diff options
context:
space:
mode:
authorGravatar murgatroid99 <michael.lumish@gmail.com>2015-01-23 09:11:39 -0800
committerGravatar murgatroid99 <michael.lumish@gmail.com>2015-01-23 09:11:39 -0800
commitd10c0abaf646f7635c1c0cb292c44036c6b64c05 (patch)
tree7553a277e129ee2e03782f5c1f6460219cfbc7ab /src/php/ext
parentb2c86aa8c4a0833fb434e679d2a7dbc93e6fc670 (diff)
parentac139dead15bf9cb8da75340c6fb93225a11ef7c (diff)
Merge branch 'master' of github.com:google/grpc into merge_new_invoke_api
Diffstat (limited to 'src/php/ext')
-rw-r--r--src/php/ext/grpc/credentials.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/php/ext/grpc/credentials.c b/src/php/ext/grpc/credentials.c
index c63196bf90..46c825a48f 100644
--- a/src/php/ext/grpc/credentials.c
+++ b/src/php/ext/grpc/credentials.c
@@ -81,6 +81,8 @@ PHP_METHOD(Credentials, createSsl) {
int root_certs_length, private_key_length = 0, cert_chain_length = 0;
+ pem_key_cert_pair.private_key = pem_key_cert_pair.cert_chain = NULL;
+
/* "s|s!s! == 1 string, 2 optional nullable strings */
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s!s!",
&pem_root_certs, &root_certs_length,