From 9b01f73ac2f1261eb4306cbf5b860454ce7e3c37 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 28 Mar 2026 12:17:06 +0100 Subject: [PATCH] keylog.h: replace literal number with macro in declaration Also syncing with the defintion. Closes #21141 --- lib/vtls/keylog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vtls/keylog.h b/lib/vtls/keylog.h index 7e741b964d..c1563243fb 100644 --- a/lib/vtls/keylog.h +++ b/lib/vtls/keylog.h @@ -57,8 +57,8 @@ bool Curl_tls_keylog_enabled(void); * Returns true iff the key log file is open and a valid entry was provided. */ bool Curl_tls_keylog_write(const char *label, - const unsigned char client_random[32], - const unsigned char *secret, size_t secretlen); + const unsigned char client_random[CLIENT_RANDOM_SIZE], + const unsigned char *secret, size_t secretlen); /* * Appends a line to the key log file, ensure it is terminated by an LF.