-int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len) {
- BIO *in = BIO_new(BIO_s_mem());
+int FuzzerInitialize(int *argc, char ***argv)
+{
+ OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL);
+ ERR_get_state();
+ CRYPTO_free_ex_index(0, -1);
+ return 1;
+}
+
+int FuzzerTestOneInput(const uint8_t *buf, size_t len)
+{
+ CMS_ContentInfo *cms;
+ BIO *in;
+
+ if (len == 0)
+ return 0;
+
+ in = BIO_new(BIO_s_mem());