Ignore:
Timestamp:
Jun 22, 2021, 9:00:19 PM (3 years ago)
Author:
coas-nagasima
Message:

WolfSSLとAzure IoT SDKを更新

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  
    313313
    314314int 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)
    316316{
    317317    int ret;
     
    363363    /* determine what max applies too */
    364364    if ((flag & WOLFMEM_IO_POOL) || (flag & WOLFMEM_IO_POOL_FIXED)) {
    365         heap->maxIO = max;
     365        heap->maxIO = maxSz;
    366366    }
    367367    else { /* general memory used in handshakes */
    368         heap->maxHa = max;
     368        heap->maxHa = maxSz;
    369369    }
    370370
     
    372372    *pHint = hint;
    373373
    374     (void)max;
     374    (void)maxSz;
    375375
    376376    return 0;
Note: See TracChangeset for help on using the changeset viewer.