]> Cypherpunks.ru repositories - govpn.git/blobdiff - src/cypherpunks.ru/govpn/handshake_test.go
go vet/lint
[govpn.git] / src / cypherpunks.ru / govpn / handshake_test.go
index 6f1c7c49815eea11bc4c84940d11bb6e29f7b8c4..077146583c654c5fb726aaab70e03430b14cf104 100644 (file)
@@ -24,7 +24,7 @@ import (
 
 func TestHandshakeSymmetric(t *testing.T) {
        // initial values are taken from peer_test.go's init()
-       v := VerifierNew(1<<10, 1<<4, 1, &testPeerId)
+       v := VerifierNew(1<<10, 1<<4, 1, &testPeerID)
        testConf.Verifier = v
        testConf.DSAPriv = v.PasswordApply("does not matter")
        hsS := NewHandshake("server", Dummy{&testCt}, testConf)
@@ -41,7 +41,7 @@ func TestHandshakeSymmetric(t *testing.T) {
 
 func TestHandshakeNoiseSymmetric(t *testing.T) {
        // initial values are taken from peer_test.go's init()
-       v := VerifierNew(1<<10, 1<<4, 1, &testPeerId)
+       v := VerifierNew(1<<10, 1<<4, 1, &testPeerID)
        testConf.Verifier = v
        testConf.DSAPriv = v.PasswordApply("does not matter")
        testConf.Noise = true
@@ -59,7 +59,7 @@ func TestHandshakeNoiseSymmetric(t *testing.T) {
 }
 func TestHandshakeEnclessSymmetric(t *testing.T) {
        // initial values are taken from peer_test.go's init()
-       v := VerifierNew(1<<10, 1<<4, 1, &testPeerId)
+       v := VerifierNew(1<<10, 1<<4, 1, &testPeerID)
        testConf.Verifier = v
        testConf.DSAPriv = v.PasswordApply("does not matter")
        testConf.Encless = true