OSDN Git Service

HTTPS接続時に証明書の失効リストの照合を行う
authorKimura Youichi <kim.upsilon@bucyou.net>
Tue, 1 May 2018 23:55:13 +0000 (08:55 +0900)
committerKimura Youichi <kim.upsilon@bucyou.net>
Sun, 14 Oct 2018 07:09:22 +0000 (16:09 +0900)
OpenTween/Connection/Networking.cs

index dc377c6..2fb64d4 100644 (file)
@@ -104,6 +104,7 @@ namespace OpenTween.Connection
             Networking.initialized = true;
 
             ServicePointManager.Expect100Continue = false;
+            ServicePointManager.CheckCertificateRevocationList = true;
 
             // Win7 では SystemDefault が SSL3.0 または TLS1.0 のため、明示的にバージョンを引き上げる必要がある
             if (IsWindows7)