Browse Source

Fix bug #61413 ext\openssl\tests\openssl_encrypt_crash.phpt fails 5.3 only

pull/69/head
Anatoliy Belsky 14 years ago
parent
commit
270a406ac9
  1. 2
      ext/openssl/openssl.c

2
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;

Loading…
Cancel
Save