outposts/ldap: only use common cert if cert is configured, correctly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -24,7 +24,7 @@ func (ls *LDAPServer) getCertificates(info *tls.ClientHelloInfo) (*tls.Certifica | ||||
| 			} | ||||
| 			return provider.cert, nil | ||||
| 		} | ||||
| 		if provider.certUUID != ls.providers[0].certUUID && provider.cert != nil { | ||||
| 		if provider.certUUID != ls.providers[0].certUUID || provider.cert == nil { | ||||
| 			allIdenticalCerts = false | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer