Commit Graph

71 Commits (master)

Author SHA1 Message Date
Emma Stensland 8c968eb572 F-1296 F-2112 F-2893 F-2900 F-3899 F-4121 F-4127: Fix error handling in TLS, DTLS, and protocol examples 2026-07-14 15:06:41 -06:00
Emma Stensland 278736016e F-2115 F-3693 F-3890 F-3895 F-5608 F-5609 F-5613 F-6290 F-6537 F-6538: fix RPi-Pico, TOPPERS, PSK, lwIP, Mynewt, uTasker, wolfIP, and STSafe examples issues 2026-07-13 17:29:28 -06:00
Emma Stensland 12ba640b3a F-1701 F-1292 F-3225 F-3902 F-1705: fix double-close, wrong-socket, and NULL-check bugs, and harden fd/session sentinel handling across DTLS, TLS, PSK, and CAN-bus examples 2026-07-13 16:39:01 -06:00
Emma Stensland 73d813efe4 F-2895 F-2897 F-2898 F-2899 F-3898: fix cipher suite string colons, nanosecond overflow arithmetic, and shutdown() call in lwIP 2026-07-10 16:56:42 -06:00
Emma Stensland ac4b7b574e F-1698 F-1699 F-2094 F-2097 F-3222 F-3465 F-3900 F-4130 F-4599 F-5611 F-6285: fix logic and conditional bugs 2026-07-10 16:56:42 -06:00
night1rider 5b00968010 Give each PSK thread its own heap copy of connfd
Pass a per-connection malloc'd descriptor instead of the address of the reused stack variable connfd, which the next accept() could overwrite before the thread dereferences it; the thread frees it after copying.
2026-06-30 10:02:24 -06:00
Paul Adelsbach 6d316999ff Misc fenrir fixes 2026-04-24 11:24:06 -07:00
Eric Blankenhorn 205ff32c6e Set ssl to null after free to avoid double free 2026-02-24 15:36:39 -06:00
Andras Fekete 4c2f96ff64 Clean up wolfSSL path variable name 2024-04-04 13:28:23 -04:00
tim-weller-wolfssl 013a6da63d Phase 1 updates to wolfSSL examples based on testing with wolfSSL
release v5.5.4-stable.  Changes include minor build fixes and README
updates.
2023-03-25 09:15:11 -05:00
David Garske 0d01a92b9c Cleanups to PSK examples. 2022-03-07 13:01:38 -08:00
Sean Parkinson 2da64d0721 PSK example: add TLS v1.3 client/server example supporting multiple identities 2022-03-07 15:05:47 +10:00
Lealem Amedie 0c0e156f7b proper cleanup in psk/client-tcp.c 2021-07-06 16:44:11 -06:00
Lealem Amedie c8d596269d Getting files to run and pass nightly-CDT test 2021-07-06 13:57:19 -06:00
David Garske 5ba15f1426 Spelling fixes. 2021-06-09 09:07:40 -07:00
kaleb-himes 5195bdbd31 Address other examples also based on peer feedback 2020-07-07 11:57:38 -06:00
kaleb-himes f45184fc4a remove unnecessary nonblock calls and update to _dtls_ on relevant calls 2020-07-07 09:33:17 -06:00
JacobBarthelmeh 639a53cdbd add build settings check and help message 2020-04-23 12:50:53 -07:00
JacobBarthelmeh 45ed6a9953 clean up BIO free'ing 2020-04-23 12:11:57 -07:00
Jacob Barthelmeh 9458946311 add custom bio example with psk 2020-04-23 11:31:16 -06:00
Tesfa Mael 189a8d1362 Fix build warnings 2020-03-20 14:46:58 -07:00
David Garske c090a1c28b
Merge pull request #175 from kaleb-himes/PSK-UPDATES
Updating PSK examples
2020-02-04 19:32:34 -05:00
Chris Conlon 9237d307b5 update copyright to 2020 2020-01-03 16:08:42 -08:00
kaleb-himes db45a9c9e8 Updating PSK examples 2019-11-21 17:11:32 -07:00
David Garske bb06f661fe Fixes for nightly Jenkins reports (pass 1). 2019-03-26 10:27:25 -07:00
Conner 579b4d8e7d Fixed tab indentations. Moved struct in client-psk-nonblocking to top of block 2017-06-01 13:15:56 -06:00
Conner b48944eca2 Merge branch 'remove_methods' 2017-05-31 09:53:41 -06:00
Conner 4352c413f9 removed additional methods so that the code reads linearly and fixed session not resuming error in client-psk-resume 2017-05-31 09:53:05 -06:00
Conner bdf4b25e00 removed additional methods so that the code reads linearly in server-psk-nonblocking and client-psk-nonblocking 2017-05-31 09:52:10 -06:00
Conner ae1ea7d33d removed additional methods so that the code reads linearly in server-tcp and client-tcp 2017-05-31 09:51:18 -06:00
Conner 6c518455dd removed additional methods so that the code reads linearly in server-psk and client-psk 2017-05-31 09:50:35 -06:00
Conner 95461c350f Removed Respond method so that code reads more linearly 2017-05-26 15:20:09 -06:00
Conner cc31940bff Final read through and adjustments to README 2017-05-26 15:19:27 -06:00
Conner cc5286594d Fixed client-psk-resume error in which it did not resume with last session 2017-05-26 10:50:00 -06:00
Conner 9adb1a757f Cleaned up README tutorial fixing mistakes and better explaining sections that needed it 2017-05-26 09:22:07 -06:00
Conner 5f0d83c24a Fixed write error to server in client-tcp.c 2017-05-23 14:08:21 -06:00
Conner ead710ce8b Fixed typo in error message for server-psk.c 2017-05-22 10:36:43 -06:00
Conner 200708b5f5 Finished changing the files in /psk to more closely follow the coding standard. 2017-05-16 16:29:22 -06:00
Conner 8bfdd52d09 Changed server-psk.c to more closely follow the coding standard. 2017-05-16 15:40:10 -06:00
Conner e8d01ac1b5 Changed server-psk-threading.c to more closely follow coding standard. 2017-05-16 15:11:55 -06:00
Conner 8dedecf3e1 changed server-tcp.c to more closely follow coding standard 2017-05-16 14:51:09 -06:00
David Garske de6488c9e7 Update the includes to use options.h then ssl.h. Updated and renamed the README.md to indicate that “WOLFSSL_STATIC_PSK” is required when building wolfSSL. 2017-01-19 16:51:21 -08:00
Michael Shihrer 89fa43e5bf Updated ./psk/Makefile to add -lpthread so that make succeeds. 2016-05-19 14:05:44 -06:00
Nickolas Lapp 727db58ddf Updated PSK from cyassl to wolfssl, updating headers 2015-05-26 13:06:50 -06:00
kaleb-himes c20b82925b wolfssl Initial 2015-01-09 16:44:54 -07:00
JacobBarthelmeh 67ee087650 Update tutorial-tcp-psk.md 2014-07-01 16:31:04 -06:00
JacobBarthelmeh 29a95e6b23 Update tutorial-tcp-psk.md 2014-07-01 16:28:12 -06:00
JacobBarthelmeh 491cf2e26c Update tutorial-tcp-psk.md 2014-07-01 16:23:34 -06:00
JacobBarthelmeh ed0062b3af Update server-psk-threaded.c 2014-07-01 15:13:23 -06:00
Nathanrauch 207541712c Update tutorial-tcp-psk.md 2014-07-01 11:29:50 -06:00