wolfSSL / wolfssl

The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3 and DTLS 1.3!
https://www.wolfssl.com
GNU General Public License v2.0
2.36k stars 834 forks source link

memory: fix types in wc_LoadStaticMemory_ex() #8117

Closed rizlik closed 1 week ago

rizlik commented 3 weeks ago

Description

Fix to use the right array type in wc_LoadStaticMemory_ex()

rizlik commented 3 weeks ago

retest this please

rizlik commented 2 weeks ago

There's a few more locations that need touched to make all sizeList and distList be an array of word32's

* wolfssl/wolfcrypt/memory.h, line 222

* wolfssl/wolfcrypt/memory.h, line 260

* wolfssl/wolfcrypt/memory.h, line 284

* wolfcrypt/src/memory.c, line 672

* wolfcrypt/src/memory.c, line 820

completely missed them. Thanks

JacobBarthelmeh commented 1 week ago

Retest this please Jenkins. I missed capturing what the failure was.