Skip to content

Commit f1ec927

Browse files
committed
Windows: Document WOLFSSL_TLS13 in FIPS v2 user_settings.h for wolfJSSE
1 parent 0e68955 commit f1ec927

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

IDE/WIN/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,18 @@ and set the values for `HAVE_FIPS`, `HAVE_FIPS_VERSION`, and
249249
#define SESSION_CERTS
250250
#define WOLFSSL_ALT_CERT_CHAINS
251251
#define WOLFSSL_ALWAYS_VERIFY_CB
252-
```
252+
#define WOLFSSL_TLS13
253+
#define HAVE_FFDHE_2048
254+
```
255+
256+
Note: the bundle's `user_settings.h` template only enables
257+
`WOLFSSL_TLS13` for FIPS v5+ builds, so it must be added explicitly
258+
here for FIPS v2 to match the TLS 1.3 support that `./configure
259+
--enable-fips=v2 --enable-jni` gives on Linux/macOS. Without it the
260+
wolfJSSE provider will not register the `TLSv1.3` algorithm.
261+
`HAVE_FFDHE_2048` is required alongside `WOLFSSL_TLS13` to configure
262+
the TLS 1.3 DH key size (otherwise `src/tls.c` fails to compile with
263+
an `#error` asking for one of the `HAVE_FFDHE_*` defines).
253264

254265
6. Build the `wolfssl-fips` project, which will create a DLL in one of the
255266
following locations:

0 commit comments

Comments
 (0)