fuzz: fuzz HTTP1 target

As we use the name taken from list-app-layer-protos output,
we want http to translate to HTTP1
pull/9032/head
Philippe Antoine 3 years ago committed by Victor Julien
parent d40dca5e55
commit 0d0f6cde6e

@ -59,6 +59,10 @@ int LLVMFuzzerInitialize(int *argc, char ***argv)
printf("Forcing %s\n", AppProtoToString(forceLayer));
}
}
// http is the output name, but we want to fuzz HTTP1
if (forceLayer == ALPROTO_HTTP) {
forceLayer = ALPROTO_HTTP1;
}
return 0;
}

Loading…
Cancel
Save