(t *testing.T)
| 38 | } |
| 39 | |
| 40 | func TestBadPasswordP12File(t *testing.T) { |
| 41 | cer, err := certificate.FromP12File("_fixtures/certificate-valid-encrypted.p12", "") |
| 42 | assert.Equal(t, tls.Certificate{}, cer) |
| 43 | assert.Equal(t, errors.New("pkcs12: decryption password incorrect").Error(), err.Error()) |
| 44 | } |
| 45 | |
| 46 | // PEM |
| 47 |
nothing calls this directly
no test coverage detected