FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/wolfcrypt/src/asn.c
/* Get raw Date only, no processing, 0 on success */
Get raw Date only, no processing, 0 on success
Get raw Date only no processing 0 on success
static int GetBasicDate(const byte* source, word32* idx, byte* date,
                        byte* format, int maxIdx)
{
    int    ret, length;
    const byte *datePtr = NULL;
    WOLFSSL_ENTER("GetBasicDate");
    ret = GetDateInfo(source, idx, &datePtr, format, &length, maxIdx);
    if (ret < 0)
        return ret;
    XMEMCPY(date, datePtr, length);
    return 0;
}
static int GetBasicDate ( const byte * source , word32 * idx , byte * date , byte * format , int maxIdx ) { int ret , length ; const byte * datePtr = NULL ; WOLFSSL_ENTER ( " " ) ; ret = GetDateInfo ( source , idx , & datePtr , format , & length , maxIdx ) ; if ( ret < 0 ) return ret ; XMEMCPY ( date , datePtr , length ) ; return 0 ; }
Get raw Date only, no processing, 0 on success
Get raw Date only no processing 0 on success