]> Cypherpunks.ru repositories - govpn.git/blobdiff - src/govpn/identify.go
Rename NoiseEnable field for simplicity
[govpn.git] / src / govpn / identify.go
index c7675b6368b48cc62e7eef3180e8515ac1421e1b..3f506ecc61e09828a2201114890bdb6f936c236b 100644 (file)
@@ -56,17 +56,6 @@ func (id PeerId) MarshalJSON() ([]byte, error) {
        return []byte(`"` + result + `"`), nil
 }
 
-type PeerConf struct {
-       Id          *PeerId
-       Timeout     time.Duration
-       NoiseEnable bool
-       CPR         int
-       // This is passphrase verifier
-       DSAPub *[ed25519.PublicKeySize]byte
-       // This field exists only in dummy configuration on client's side
-       DSAPriv *[ed25519.PrivateKeySize]byte
-}
-
 type cipherCache map[PeerId]*xtea.Cipher
 
 var (