Avoid unused variable warning in X.509 CSR fuzzing
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
parent
da121744da
commit
eb2efb0de7
3 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue