Avoid unused variable warning in X.509 CSR fuzzing

Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
Hanno Becker 2020-10-16 06:54:39 +01:00 committed by Chris Jones
parent da121744da
commit eb2efb0de7
3 changed files with 3 additions and 0 deletions

View file

@ -15,6 +15,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
} }
#else #else
((void) ret); ((void) ret);
((void) buf);
#endif /* !MBEDTLS_X509_REMOVE_INFO */ #endif /* !MBEDTLS_X509_REMOVE_INFO */
mbedtls_x509_crl_free( &crl ); mbedtls_x509_crl_free( &crl );
#else #else

View file

@ -15,6 +15,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
} }
#else #else
((void) ret); ((void) ret);
((void) buf);
#endif /* !MBEDTLS_X509_REMOVE_INFO */ #endif /* !MBEDTLS_X509_REMOVE_INFO */
mbedtls_x509_crt_free( &crt ); mbedtls_x509_crt_free( &crt );
#else #else

View file

@ -15,6 +15,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
} }
#else #else
((void) ret); ((void) ret);
((void) buf);
#endif /* !MBEDTLS_X509_REMOVE_INFO */ #endif /* !MBEDTLS_X509_REMOVE_INFO */
mbedtls_x509_csr_free( &csr ); mbedtls_x509_csr_free( &csr );
#else #else