Skip to content

Commit 439685e

Browse files
committed
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: 4757b35 ("openssl: Import version 3.5.1")
1 parent 61288a5 commit 439685e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

secure/lib/libssl/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ SRCS+= rio_notifier.c poll_builder.c
7373

7474
.if ${MK_OPENSSL_KTLS} == "no"
7575
CFLAGS+=-DOPENSSL_NO_KTLS
76+
.else
77+
SRCS+= ktls_meth.c
7678
.endif
7779

7880
LIBADD= crypto

0 commit comments

Comments
 (0)