summaryrefslogtreecommitdiff
path: root/caddyconfig/caddyfile
diff options
context:
space:
mode:
Diffstat (limited to 'caddyconfig/caddyfile')
-rw-r--r--caddyconfig/caddyfile/parse_fuzz.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/caddyconfig/caddyfile/parse_fuzz.go b/caddyconfig/caddyfile/parse_fuzz.go
index d0ea7e7..a6a698f 100644
--- a/caddyconfig/caddyfile/parse_fuzz.go
+++ b/caddyconfig/caddyfile/parse_fuzz.go
@@ -17,12 +17,8 @@
package caddyfile
-import (
- "bytes"
-)
-
func FuzzParseCaddyfile(data []byte) (score int) {
- sb, err := Parse("Caddyfile", bytes.NewReader(data))
+ sb, err := Parse("Caddyfile", data)
if err != nil {
// if both an error is received and some ServerBlocks,
// then the parse was able to parse partially. Mark this