The branch main has been updated by ngie:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=439685ee69e4fc066df5c54f802248d8e3805605

commit 439685ee69e4fc066df5c54f802248d8e3805605
Author:     Enji Cooper <n...@freebsd.org>
AuthorDate: 2025-08-21 16:18:30 +0000
Commit:     Enji Cooper <n...@freebsd.org>
CommitDate: 2025-08-21 16:28:02 +0000

    libssl: unbreak building the library with KTLS
    
    The 3.5.1 update dropped a `SRCS` entry for the MK_OPENSSL_KTLS != no
    case (the source was renamed from `ktls.c` to `ktls_meth.c`). Add the
    new file to SRCS in order to unbreak linking the library when KTLS is
    enabled.
    
    This bug isn't apparent now because KTLS is always disabled in
    `include/openssl/configuration.h` (this will be fixed soon).
    
    Found when doing `make universe` with KTLS enabled in
    `include/openssl/configuration.h`.
    
    Fixes:  4757b351ea9d59d ("openssl: Import version 3.5.1")
---
 secure/lib/libssl/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/secure/lib/libssl/Makefile b/secure/lib/libssl/Makefile
index 45f23c9e9ca2..682c7bbc2693 100644
--- a/secure/lib/libssl/Makefile
+++ b/secure/lib/libssl/Makefile
@@ -73,6 +73,8 @@ SRCS+=        rio_notifier.c poll_builder.c
 
 .if ${MK_OPENSSL_KTLS} == "no"
 CFLAGS+=-DOPENSSL_NO_KTLS
+.else
+SRCS+= ktls_meth.c
 .endif
 
 LIBADD=        crypto

Reply via email to