FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/src/ocsp.c
/* Signature verified in DecodeBasicOcspResponse.
 * But no store available to verify certificate. */
Signature verified in DecodeBasicOcspResponse.
But no store available to verify certificate.
Signature verified in DecodeBasicOcspResponse . But no store available to verify certificate .
int wolfSSL_OCSP_basic_verify(WOLFSSL_OCSP_BASICRESP *bs,
    WOLF_STACK_OF(WOLFSSL_X509) *certs, WOLFSSL_X509_STORE *st, unsigned long flags)
{
    DecodedCert cert;
    int         ret = WOLFSSL_SUCCESS;
    (void)certs;
    if (flags & OCSP_NOVERIFY)
        return WOLFSSL_SUCCESS;
#ifdef OPENSSL_EXTRA
    if (bs->verifyError != OCSP_VERIFY_ERROR_NONE)
        return WOLFSSL_FAILURE;
#endif
    InitDecodedCert(&cert, bs->cert, bs->certSz, NULL);
    if (ParseCertRelative(&cert, CERT_TYPE, VERIFY, st->cm) < 0)
        ret = WOLFSSL_FAILURE;
    FreeDecodedCert(&cert);
    return ret;
}
int wolfSSL_OCSP_basic_verify ( WOLFSSL_OCSP_BASICRESP * bs , WOLF_STACK_OF ( WOLFSSL_X509 ) * certs , WOLFSSL_X509_STORE * st , unsigned long flags ) { DecodedCert cert ; int ret = WOLFSSL_SUCCESS ; ( void ) certs ; if ( flags & OCSP_NOVERIFY ) return WOLFSSL_SUCCESS ; #ifdef OPENSSL_EXTRA if ( bs -> verifyError != OCSP_VERIFY_ERROR_NONE ) return WOLFSSL_FAILURE ; #endif InitDecodedCert ( & cert , bs -> cert , bs -> certSz , NULL ) ; if ( ParseCertRelative ( & cert , CERT_TYPE , VERIFY , st -> cm ) < 0 ) ret = WOLFSSL_FAILURE ; FreeDecodedCert ( & cert ) ; return ret ; }
Signature verified in DecodeBasicOcspResponse.
Signature verified in DecodeBasicOcspResponse .