keylog.h: replace literal number with macro in declaration

Also syncing with the defintion.

Closes #21141
This commit is contained in:
Viktor Szakats 2026-03-28 12:17:06 +01:00
parent 31ec67651a
commit 9b01f73ac2
No known key found for this signature in database

View file

@ -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.