Commit f289977675 for openssl.org

commit f289977675358dbd9d048e86f00d89b74c53ad7b
Author: ohhyunjun <141508933+Ohyunj@users.noreply.github.com>
Date:   Fri Aug 28 17:15:27 2026 +0900

    ktls_send_ctrl_message(): Fix parameter name from 'lengthi' to 'length'

    In include/internal/ktls.h, the variable/parameter lengthi is used
    in Kernel TLS (KTLS) helper declarations and macros, whereas all
    related functions across the codebase consistently use length.

    This naming inconsistency triggers static analysis warnings
    (including potential CWE-467 flags regarding parameter/pointer
    evaluation in macro expansions) and creates confusion during maintenance.
    The identifier lengthi appears to be an unintended typo introduced
    during the original KTLS interface definition.

    CLA: trivial
    Reviewed-by: Neil Horman <nhorman@openssl.org>
    Reviewed-by: Norbert Pocs <norbertp@openssl.org>
    Reviewed-by: Paul Dale <paul.dale@oracle.com>
    Merge-date: Mon Sep  7 18:42:31 2026
    Merged-from: https://github.com/openssl/openssl/pull/32568

diff --git a/include/internal/ktls.h b/include/internal/ktls.h
index d358481999..cf14728fa5 100644
--- a/include/internal/ktls.h
+++ b/include/internal/ktls.h
@@ -98,7 +98,7 @@ static ossl_inline int ktls_enable_tx_zerocopy_sendfile(int fd)
  * record using this control message.
  */
 static ossl_inline int ktls_send_ctrl_message(int fd,
-    unsigned char record_type, const void *data, size_t lengthi, int flags)
+    unsigned char record_type, const void *data, size_t length, int flags)
 {
     struct msghdr msg = { 0 };
     int cmsg_len = sizeof(record_type);