mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-06 00:05:21 -04:00
Add mutual aTLS support (#176)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
5d7bf86b30
commit
869448c3e1
19 changed files with 354 additions and 146 deletions
|
@ -22,7 +22,7 @@ type KeyClient struct {
|
|||
// called on a client that already has a connection, the old
|
||||
// connection is closed.
|
||||
func (c *KeyClient) Connect(endpoint string, validators []atls.Validator) error {
|
||||
tlsConfig, err := atls.CreateAttestationClientTLSConfig(validators)
|
||||
tlsConfig, err := atls.CreateAttestationClientTLSConfig(nil, validators)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue