Skip to content

Commit 58d3dd4

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2: Sync with behavior change in OpenSSL 1.1.1b
2 parents 019fd1d + 19a44ff commit 58d3dd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6546,7 +6546,7 @@ static int php_openssl_cipher_update(const EVP_CIPHER *cipher_type,
65466546
{
65476547
int i = 0;
65486548

6549-
if (mode->is_single_run_aead && !EVP_EncryptUpdate(cipher_ctx, NULL, &i, NULL, (int)data_len)) {
6549+
if (mode->is_single_run_aead && !EVP_CipherUpdate(cipher_ctx, NULL, &i, NULL, (int)data_len)) {
65506550
php_openssl_store_errors();
65516551
php_error_docref(NULL, E_WARNING, "Setting of data length failed");
65526552
return FAILURE;

0 commit comments

Comments
 (0)