Files
go-i2p/lib/common/fuzz/keys_and_cert/fuzz.go

12 lines
271 B
Go
Raw Normal View History

2017-04-07 21:51:56 -07:00
package exportable
import common "github.com/go-i2p/go-i2p/lib/common/keys_and_cert"
2017-04-07 21:51:56 -07:00
func Fuzz(data []byte) int {
keys_and_cert, _, _ := common.ReadKeysAndCert(data)
2017-04-07 21:51:56 -07:00
keys_and_cert.Certificate()
keys_and_cert.PublicKey()
keys_and_cert.SigningPublicKey()
return 0
}