|
@@ -101,7 +101,7 @@ func generatePrefixed(prefix string, count *int64, found chan<- result, stop <-c
|
|
|
- derBytes, err := x509.CreateCertificate(rand.Reader, &template, &template, priv.Public(), priv)
|
|
|
+ derBytes, err := x509.CreateCertificate(rand.Reader, &template, &template, priv.PublicKey, priv)
|