Просмотр исходного кода

Fix: SESSION-TICKET is compatible with Randomized

Rod Hynes 7 лет назад
Родитель
Сommit
a45feec4f2
1 измененных файлов с 0 добавлено и 6 удалено
  1. 0 6
      psiphon/tlsDialer.go

+ 0 - 6
psiphon/tlsDialer.go

@@ -166,12 +166,6 @@ func SelectTLSProfile(
 				continue
 				continue
 			}
 			}
 
 
-			if tunnelProtocol == protocol.TUNNEL_PROTOCOL_UNFRONTED_MEEK_SESSION_TICKET &&
-				tlsProfile == protocol.TLS_PROFILE_RANDOMIZED {
-				// This TLS profile doesn't support session tickets
-				continue
-			}
-
 			tlsProfiles = append(tlsProfiles, tlsProfile)
 			tlsProfiles = append(tlsProfiles, tlsProfile)
 		}
 		}