diff options
author | Anatoliy Belsky <ab@php.net> | 2012-04-24 14:05:35 +0200 |
---|---|---|
committer | Anatoliy Belsky <ab@php.net> | 2012-04-24 14:05:35 +0200 |
commit | 270a406ac94b5fc5cc9ef59fc61e3b4b95648a3e (patch) | |
tree | 798298a97c711a7327a3c4db374dbf0adfd53370 /ext/openssl | |
parent | 8d748e5de519867d9b6ce40e3ea28a209b07768f (diff) | |
download | php-git-270a406ac94b5fc5cc9ef59fc61e3b4b95648a3e.tar.gz |
Fix bug #61413 ext\openssl\tests\openssl_encrypt_crash.phpt fails 5.3 only
Diffstat (limited to 'ext/openssl')
-rw-r--r-- | ext/openssl/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 7c5afc55d7..779a91db9c 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -4677,7 +4677,7 @@ PHP_FUNCTION(openssl_encrypt) int data_len, method_len, password_len, iv_len = 0, max_iv_len; const EVP_CIPHER *cipher_type; EVP_CIPHER_CTX cipher_ctx; - int i, outlen, keylen; + int i = 0, outlen, keylen; unsigned char *outbuf, *key; zend_bool free_iv; |