src.opts.mk: enable OPENSSL_KTLS by default on riscv64

1e649491b8 enabled KERN_TLS in
riscv/conf/GENERIC, but didn't enable OPENSSL_KTLS.

This passes all testcases in the sys/kern/ssl_sendfile suite and
fixes CI failures seen here:
https://ci.freebsd.org/job/FreeBSD-main-riscv64-test/16606/testReport/sys.kern/ssl_sendfile/

PR:	293810
Fixes:	1e649491b8
MFC after:	3 days
Reviewed by:	gallatin, ngie
Differential Revision:	https://reviews.freebsd.org/D57316
This commit is contained in:
Siva Mahadevan
2026-06-10 18:30:14 -04:00
parent 1e25cda7f0
commit b61ab2d693
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
.\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
.Dd April 22, 2026
.Dd May 28, 2026
.Dt SRC.CONF 5
.Os
.Sh NAME
@@ -1514,12 +1514,12 @@ is set explicitly)
Do not include kernel TLS support in OpenSSL.
.Pp
This is a default setting on
arm/armv7, i386/i386 and riscv/riscv64.
arm/armv7 and i386/i386.
.It Va WITH_OPENSSL_KTLS
Include kernel TLS support in OpenSSL.
.Pp
This is a default setting on
amd64/amd64, arm64/aarch64, powerpc/powerpc64 and powerpc/powerpc64le.
amd64/amd64, arm64/aarch64, powerpc/powerpc64, powerpc/powerpc64le and riscv/riscv64.
.It Va WITHOUT_PAM
Do not build PAM library and modules.
.Bf -symbolic
+2 -2
View File
@@ -346,8 +346,8 @@ BROKEN_OPTIONS+=LOADER_IA32
BROKEN_OPTIONS+=LOADER_GELI LOADER_LUA
.endif
# Kernel TLS is enabled by default on amd64, aarch64 and powerpc64*
.if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T:Mpowerpc64*} != ""
# Kernel TLS is enabled by default on amd64, aarch64, powerpc64*, and riscv64*
.if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T:Mpowerpc64*} != "" || ${__T:Mriscv64*} != ""
__DEFAULT_YES_OPTIONS+=OPENSSL_KTLS
.else
__DEFAULT_NO_OPTIONS+=OPENSSL_KTLS