Allow multiple CA Certificates (#4556)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-09-13 09:22:24 -03:00 committed by GitHub
parent fe4f178db1
commit 55820ef1e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 47 additions and 46 deletions

View file

@ -176,7 +176,7 @@ func TestConfigureCACert(t *testing.T) {
if sslCert.CAFileName != "" {
t.Fatalf("expected CAFileName to be empty")
}
if sslCert.Certificate == nil {
if sslCert.CACertificate == nil {
t.Fatalf("expected Certificate to be set")
}
@ -221,7 +221,7 @@ fUNCdMGmr8FVF6IzTNYGmCuk/C4=
if sslCert.CRLFileName != "" {
t.Fatalf("expected CRLFileName to be empty")
}
if sslCert.Certificate == nil {
if sslCert.CACertificate == nil {
t.Fatalf("expected Certificate to be set")
}