Fix missing parenthesis.

This commit is contained in:
Mariano Cano 2020-07-09 15:20:26 -07:00
parent a7e2ebb7d2
commit e11160ebf1

View file

@ -63,6 +63,6 @@ func (c *CertificateRequest) GetLeafCertificate() *Certificate {
cert.ExtKeyUsage = ExtKeyUsage([]x509.ExtKeyUsage{
x509.ExtKeyUsageServerAuth,
x509.ExtKeyUsageClientAuth,
}
})
return cert
}