Fix fuzz test for s2n_asn1der_to_public_key_and_type name change
@@ -142,7 +142,9 @@ int LLVMFuzzerInitialize(const uint8_t *buf, size_t len)
server_config = s2n_config_new();
GUARD(s2n_config_add_cert_chain_and_key(server_config, certificate_chain, private_key));
- GUARD(s2n_asn1der_to_public_key(&public_key, &server_config->cert_and_key_pairs->cert_chain.head->raw));
+ s2n_cert_type cert_type;
+ GUARD(s2n_asn1der_to_public_key_and_type(&public_key, &cert_type, &server_config->cert_and_key_pairs->cert_chain.head->raw));
+
return 0;
}
