fuzzing with dvyukov/go-fuzz

This commit is contained in:
Hayden
2017-04-07 21:51:56 -07:00
parent d82edd84a2
commit b98534c112
98 changed files with 133 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,11 @@
package exportable
import "github.com/hkparker/go-i2p/lib/common"
func Fuzz(data []byte) int {
keys_and_cert, _, _ := common.ReadKeysAndCert(data)
keys_and_cert.Certificate()
keys_and_cert.PublicKey()
keys_and_cert.SigningPublicKey()
return 0
}