3 #include <freerdp/crypto/certificate_store.h>
5 int LLVMFuzzerTestOneInput(
const uint8_t* Data,
size_t Size)
7 rdpCertificateData* data = NULL;
8 char* pem = calloc(Size + 1,
sizeof(
char));
11 memcpy(pem, Data, Size);
13 data = freerdp_certificate_data_new_from_pem(
"somehost", 1234, pem, Size);
18 freerdp_certificate_data_free(data);