Browse Source

Remove quic-go SVID

Rod Hynes 6 years ago
parent
commit
480a47ae78

+ 0 - 1
psiphon/common/quic/gquic-go/internal/handshake/crypto_setup_server.go

@@ -327,7 +327,6 @@ func (h *cryptoSetupServer) handleInchoateCHLO(sni string, chlo []byte, cryptoDa
 	replyMap := map[Tag][]byte{
 		TagSCFG: h.scfg.Get(),
 		TagSTK:  token,
-		TagSVID: []byte("quic-go"),
 	}
 
 	if h.acceptSTK(cryptoData[TagSTK]) {

+ 0 - 2
psiphon/common/quic/gquic-go/internal/handshake/tags.go

@@ -27,8 +27,6 @@ const (
 	TagMIDS Tag = 'M' + 'I'<<8 + 'D'<<16 + 'S'<<24
 	// TagUAID is the user agent ID
 	TagUAID Tag = 'U' + 'A'<<8 + 'I'<<16 + 'D'<<24
-	// TagSVID is the server ID (unofficial tag by us :)
-	TagSVID Tag = 'S' + 'V'<<8 + 'I'<<16 + 'D'<<24
 	// TagTCID is truncation of the connection ID
 	TagTCID Tag = 'T' + 'C'<<8 + 'I'<<16 + 'D'<<24
 	// TagPDMD is the proof demand