fuzzing with dvyukov/go-fuzz
This commit is contained in:
11
lib/common/fuzz/router_identity/fuzz.go
Normal file
11
lib/common/fuzz/router_identity/fuzz.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package exportable
|
||||
|
||||
import "github.com/hkparker/go-i2p/lib/common"
|
||||
|
||||
func Fuzz(data []byte) int {
|
||||
router_identity, _, _ := common.ReadRouterIdentity(data)
|
||||
router_identity.Certificate()
|
||||
router_identity.PublicKey()
|
||||
router_identity.SigningPublicKey()
|
||||
return 0
|
||||
}
|
Reference in New Issue
Block a user