You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
345 B
20 lines
345 B
#include <stdint.h>
|
|
#include "mbedtls/pkcs7.h"
|
|
|
|
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
|
#ifdef MBEDTLS_PKCS7_C
|
|
mbedtls_pkcs7 pkcs7;
|
|
|
|
mbedtls_pkcs7_init( &pkcs7 );
|
|
|
|
mbedtls_pkcs7_parse_der( &pkcs7, Data, Size );
|
|
|
|
mbedtls_pkcs7_free( &pkcs7 );
|
|
#else
|
|
(void) Data;
|
|
(void) Size;
|
|
#endif
|
|
|
|
return 0;
|
|
}
|