X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fgovpn%2Fidentify.go;h=3f506ecc61e09828a2201114890bdb6f936c236b;hb=0c6f6e443c37addce07cb3d1cd337c62a234e90d;hp=c7675b6368b48cc62e7eef3180e8515ac1421e1b;hpb=71c54b2c70a7a63e9a0f1009319c98f253a8fe10;p=govpn.git diff --git a/src/govpn/identify.go b/src/govpn/identify.go index c7675b6..3f506ec 100644 --- a/src/govpn/identify.go +++ b/src/govpn/identify.go @@ -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 (