You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
configure.ac and wolfssl/wolfcrypt/settings.h: implement --enable-experimental and add a WOLFSSL_EXPERIMENTAL_SETTINGS gate, and refactor "EXPERIMENTAL" features (all pq) to note and enforce requirement for --enable-experimental and WOLFSSL_EXPERIMENTAL_SETTINGS.
Copy file name to clipboardExpand all lines: configure.ac
+29-5Lines changed: 29 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,18 @@ else
102
102
REPRODUCIBLE_BUILD_DEFAULT=no
103
103
fi
104
104
105
+
# Allow experimental settings
106
+
AC_ARG_ENABLE([experimental],
107
+
[AS_HELP_STRING([--enable-experimental],[Allow experimental settings in the configuration (default: disabled)])],
108
+
[ ENABLED_EXPERIMENTAL=$enableval ],
109
+
[ ENABLED_EXPERIMENTAL=no ]
110
+
)
111
+
if test "$ENABLED_EXPERIMENTAL" = "yes"
112
+
then
113
+
AS_IF([ test "$ENABLED_DISTRO" = "yes" && test "$ENABLED_EXPERIMENTAL" = "yes" ],[AC_MSG_ERROR([--enable-distro and --enable-experimental are mutually exclusive.])])
[AS_HELP_STRING([--enable-dual-alg-certs],[Enable support for dual key/signature certificates in TLS 1.3 as defined in X9.146 (default: disabled)])],
8204
+
[AS_HELP_STRING([--enable-dual-alg-certs],[Enable support for dual key/signature certificates in TLS 1.3 as defined in X9.146 (requires --enable-experimental) (default: disabled)])],
8189
8205
[ ENABLED_DUAL_ALG_CERTS=$enableval ],
8190
8206
[ ENABLED_DUAL_ALG_CERTS=no ]
8191
8207
)
8192
8208
8209
+
AS_IF([ test "$ENABLED_DUAL_ALG_CERTS" != "no" && test "$ENABLED_EXPERIMENTAL" != "yes" ],[AC_MSG_ERROR([dual-alg-certs requires --enable-experimental.])])
8210
+
8193
8211
# check if should run the trusted peer certs test
8194
8212
# (for now checking both C_FLAGS and C_EXTRA_FLAGS)
0 commit comments