Skip to content

Commit

Permalink
Fix grpc.go
Browse files Browse the repository at this point in the history
Signed-off-by: Jilks Smith <[email protected]>
  • Loading branch information
smithjilks committed Aug 26, 2024
1 parent 46a9bbf commit 69ad474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/grpc/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (s *Server) Start() error {

switch {
case s.Config.AttestedTLS && (s.Config.ClientCAFile != "" || s.Config.ServerCAFile != ""):
certificateBytes, privateKeyBytes, err := generateCertificatesForATLS(s.agent)
certificateBytes, privateKeyBytes, err := generateCertificatesForATLS(s.quoteProvider)
if err != nil {
return fmt.Errorf("failed to create certificate: %w", err)
}
Expand Down

0 comments on commit 69ad474

Please sign in to comment.