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 21, 2023
1 parent 7edcf62 commit e423c2f
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 e423c2f

Please sign in to comment.