From 86064f9a04b14db78303cc0ef629b2df6b175f74 Mon Sep 17 00:00:00 2001 From: Lealem Amedie Date: Tue, 9 May 2023 13:26:19 -0600 Subject: [PATCH 1/2] Fix for compiling with NO_ASN_TIME --- src/ssl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ssl.c b/src/ssl.c index abd78681e..8bae4bc3e 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -14501,7 +14501,9 @@ void SetupSession(WOLFSSL* ssl) } #endif session->timeout = ssl->timeout; +#ifndef NO_ASN_TIME session->bornOn = LowResTimer(); +#endif #if defined(SESSION_CERTS) || (defined(WOLFSSL_TLS13) && \ defined(HAVE_SESSION_TICKET)) session->version = ssl->version; From 03f5ce03ff14ec98f614a48b5094fcb9b549cb83 Mon Sep 17 00:00:00 2001 From: Lealem Amedie Date: Tue, 9 May 2023 13:28:20 -0600 Subject: [PATCH 2/2] Remove inaccurate STM32 documentation --- IDE/STM32Cube/README.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/IDE/STM32Cube/README.md b/IDE/STM32Cube/README.md index 8689b9e34..8a5bcea44 100644 --- a/IDE/STM32Cube/README.md +++ b/IDE/STM32Cube/README.md @@ -37,16 +37,6 @@ You need both the STM32 IDE and the STM32 initialization code generator (STM32Cu 8. The Benchmark example uses float. To enable go to "Project Properties" -> "C/C++ Build" -> "Settings" -> "Tool Settings" -> "MCU Settings" -> Check "Use float with printf". 9. To enable printf make the `main.c` changes below in the [STM32 Printf](#stm32-printf) section. -### STM32 Cube Pack Examples - -In the `I-CUBE-wolfSSL.pack` pack there are pre-assembled example projects available. -After installing the pack you can find these example projects in `STM32Cube/Repository/Packs/wolfSSL/wolfSSL/[Version]/Projects`. -To use an example: - -1. Open STM32CubeIDE -2. Choose "Import" -> "Import an Existing STM32CubeMX Configuration File (.ioc)". -3. Browse to find the .ioc in `STM32Cube/Repository/Packs/wolfSSL/wolfSSL/[Version]/Projects` and click finish. - ### Creating your own STM32CubeMX configuration If none of the examples fit your STM32 type then you can create your own in STM32CubeMX by doing the following: