mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-06 12:35:36 +02:00
Populate the function x509_ocsp_get_responses() that parses the SEQUENCE OF tag in a BasicOCSPResponse. The function also calls its helper function x509_ocsp_get_single_response() for each of the SingleResponse(s) contained. Note that for each SingleResponse, x509_ocsp_get_responses() must allocate a new internal struct mbedtls_x509_ocsp_single_response where the parsed data will be stored. This change also populates the mbedtls_x509_ocsp_single_response with the necessary values as specified by RFC 6960 Section 4.1.1.