diff options
-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 dc27716d63..d045bc24d2 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -4697,7 +4697,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; |