]> Cypherpunks.ru repositories - govpn.git/blobdiff - src/govpn/handshake_test.go
EncLess -> Encless for convenience
[govpn.git] / src / govpn / handshake_test.go
index 02c592bd3b6a10e1e1d71fc0eab47619bc605af8..228f58b1130a3b5d34ce8dcd24d484519db67e9a 100644 (file)
@@ -62,7 +62,7 @@ func TestHandshakeEnclessSymmetric(t *testing.T) {
        v := VerifierNew(DefaultM, DefaultT, DefaultP, &peerId)
        conf.Verifier = v
        conf.DSAPriv = v.PasswordApply("does not matter")
-       conf.EncLess = true
+       conf.Encless = true
        conf.Noise = true
        hsS := NewHandshake("server", Dummy{&ciphertext}, conf)
        hsC := HandshakeStart("client", Dummy{&ciphertext}, conf)
@@ -74,6 +74,6 @@ func TestHandshakeEnclessSymmetric(t *testing.T) {
        if hsC.Client(ciphertext) == nil {
                t.Fail()
        }
-       conf.EncLess = false
+       conf.Encless = false
        conf.Noise = false
 }