Skip to content

Commit

Permalink
Combine ca, cert, and key handling
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrownus committed Aug 15, 2023
1 parent d01cb2f commit a5ac2c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion connection_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ type ConnectionState struct {

func NewConnectionState(l *logrus.Logger, cipher string, certState *CertState, initiator bool, pattern noise.HandshakePattern, psk []byte, pskStage int) *ConnectionState {
var dhFunc noise.DHFunc

switch certState.Certificate.Details.Curve {
case cert.Curve_CURVE25519:
dhFunc = noise.DH25519
Expand Down

0 comments on commit a5ac2c5

Please sign in to comment.