- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for goodTest (0.28 sec)
-
src/crypto/x509/verify_test.go
} }) goodCert, err := certificateFromPEM(googleLeaf) if err != nil { t.Fatal(err) } t.Run("intermediate", func(t *testing.T) { opts := VerifyOptions{ Intermediates: NewCertPool(), } opts.Intermediates.AddCert(badCert) expectedErr := "SecCertificateCreateWithData: invalid certificate" _, err = goodCert.Verify(opts)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 110.2K bytes - Viewed (0)