FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/wolfcrypt/src/asn.c
/* Get CRL Signature, 0 on success */
Get CRL Signature, 0 on success
Get CRL Signature 0 on success
static int GetCRL_Signature(const byte* source, word32* idx, DecodedCRL* dcrl,
                            int maxIdx)
{
    int    length;
    int    ret;
    WOLFSSL_ENTER("GetCRL_Signature");
    ret = CheckBitString(source, idx, &length, maxIdx, 1, NULL);
    if (ret != 0)
        return ret;
    dcrl->sigLength = length;
    dcrl->signature = (byte*)&source[*idx];
    *idx += dcrl->sigLength;
    return 0;
}
static int GetCRL_Signature ( const byte * source , word32 * idx , DecodedCRL * dcrl , int maxIdx ) { int length ; int ret ; WOLFSSL_ENTER ( " " ) ; ret = CheckBitString ( source , idx , & length , maxIdx , 1 , NULL ) ; if ( ret != 0 ) return ret ; dcrl -> sigLength = length ; dcrl -> signature = ( byte * ) & source [ * idx ] ; * idx += dcrl -> sigLength ; return 0 ; }
Get CRL Signature, 0 on success
Get CRL Signature 0 on success