Skip to content

Commit a5e9861

Browse files
committed
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Sync with behavior change in OpenSSL 1.1.1b
2 parents a0b527e + 58d3dd4 commit a5e9861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/openssl.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -6605,7 +6605,7 @@ static int php_openssl_cipher_update(const EVP_CIPHER *cipher_type,
66056605
{
66066606
int i = 0;
66076607

6608-
if (mode->is_single_run_aead && !EVP_EncryptUpdate(cipher_ctx, NULL, &i, NULL, (int)data_len)) {
6608+
if (mode->is_single_run_aead && !EVP_CipherUpdate(cipher_ctx, NULL, &i, NULL, (int)data_len)) {
66096609
php_openssl_store_errors();
66106610
php_error_docref(NULL, E_WARNING, "Setting of data length failed");
66116611
return FAILURE;

0 commit comments

Comments
 (0)