瀏覽代碼

Constants unused since 0e4e2e6b

Source commit: 3255823774a5f7fb932cad05c7f410b195ca996f
Martin Prikryl 5 年之前
父節點
當前提交
b5a9a3e403
共有 2 個文件被更改,包括 0 次插入7 次删除
  1. 0 1
      source/core/SessionData.h
  2. 0 6
      source/filezilla/AsyncSslSocketLayer.h

+ 0 - 1
source/core/SessionData.h

@@ -34,7 +34,6 @@ extern const wchar_t * PingTypeNames;
 enum TPingType { ptOff, ptNullPacket, ptDummyCommand };
 enum TAddressFamily { afAuto, afIPv4, afIPv6 };
 enum TFtps { ftpsNone, ftpsImplicit, ftpsExplicitSsl, ftpsExplicitTls };
-// has to match SSL_VERSION_XXX constants in AsyncSslSocketLayer.h
 // ssl2 has no effect now
 enum TTlsVersion { ssl2 = 2, ssl3 = 3, tls10 = 10, tls11 = 11, tls12 = 12, tls13 = 13 };
 // has to match libs3 S3UriStyle

+ 0 - 6
source/filezilla/AsyncSslSocketLayer.h

@@ -243,10 +243,4 @@ private:
 #define SSL_FAILURE_VERIFYCERT 8
 #define SSL_FAILURE_CERTREJECTED 0x10
 //---------------------------------------------------------------------------
-#define SSL_VERSION_SSL3 3
-#define SSL_VERSION_TLS10 10
-#define SSL_VERSION_TLS11 11
-#define SSL_VERSION_TLS12 12
-#define SSL_VERSION_TLS13 13
-//---------------------------------------------------------------------------
 #endif // AsyncSslSocketLayerH