- Timestamp:
- Jun 22, 2021, 9:00:19 PM (3 years ago)
- Location:
- azure_iot_hub_f767zi/trunk/wolfssl-4.7.0
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
azure_iot_hub_f767zi/trunk/wolfssl-4.7.0/wolfcrypt/src/memory.c
r457 r464 313 313 314 314 int wc_LoadStaticMemory(WOLFSSL_HEAP_HINT** pHint, 315 unsigned char* buf, unsigned int sz, int flag, int max )315 unsigned char* buf, unsigned int sz, int flag, int maxSz) 316 316 { 317 317 int ret; … … 363 363 /* determine what max applies too */ 364 364 if ((flag & WOLFMEM_IO_POOL) || (flag & WOLFMEM_IO_POOL_FIXED)) { 365 heap->maxIO = max ;365 heap->maxIO = maxSz; 366 366 } 367 367 else { /* general memory used in handshakes */ 368 heap->maxHa = max ;368 heap->maxHa = maxSz; 369 369 } 370 370 … … 372 372 *pHint = hint; 373 373 374 (void)max ;374 (void)maxSz; 375 375 376 376 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.