mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-07 04:47:19 +02:00
Add missing preprocessor guard around mbedtls_x509_ocsp_response_parse_file()
This commit is contained in:
@@ -2228,6 +2228,7 @@ int mbedtls_x509_ocsp_response_verify_info( char *buf, size_t size,
|
||||
x509_ocsp_response_verify_strings ) );
|
||||
}
|
||||
|
||||
#if defined(MBEDTLS_FS_IO)
|
||||
int mbedtls_x509_ocsp_response_parse_file( mbedtls_x509_ocsp_response *resp,
|
||||
const char *path )
|
||||
{
|
||||
@@ -2245,4 +2246,6 @@ int mbedtls_x509_ocsp_response_parse_file( mbedtls_x509_ocsp_response *resp,
|
||||
|
||||
return( ret );
|
||||
}
|
||||
#endif /* MBEDTLS_FS_IO */
|
||||
|
||||
#endif /* MBEDTLS_X509_OCSP_PARSE_C */
|
||||
|
||||
Reference in New Issue
Block a user