summaryrefslogtreecommitdiff
path: root/ext/openssl/openssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/openssl.c')
-rw-r--r--ext/openssl/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index b462d0e66c..72efb44f61 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -5637,7 +5637,7 @@ static int php_openssl_validate_iv(char **piv, size_t *piv_len, size_t iv_requir
if (mode->is_aead) {
if (EVP_CIPHER_CTX_ctrl(cipher_ctx, mode->aead_ivlen_flag, *piv_len, NULL) != 1) {
php_error_docref(NULL, E_WARNING,
- "Setting of IV length for AEAD mode failed, the expected length is %d bytes",
+ "Setting of IV length for AEAD mode failed, the expected length is %zd bytes",
iv_required_len);
return FAILURE;
}