OSDN Git Service

na-get-lib,TLSv1.1/1.2使用不能時のメッセージをWARNINGから単なるINFOに変更
[applistation/AppliStation.git] / na-get-lib / NaGet.SubCommands.SubTask / SecurityProtocolConfigSubTask.cs
index ec04e9b..8c99e14 100644 (file)
@@ -28,14 +28,14 @@ namespace NaGet.SubCommands.SubTask
                                ServicePointManager.SecurityProtocol |= (SecurityProtocolType)768; // SecurityProtocolType.Tls11
                                RaiseTaskSetEvent(TaskEventType.PING, string.Empty, 66);
                        } catch (NotSupportedException) {
-                               RaiseTaskSetEvent(TaskEventType.WARNING, "TLSv1.1は有効ではありません", 66);
+                               RaiseTaskSetEvent(TaskEventType.INFO, "TLSv1.1は有効ではありません", 66);
                        }
                        
                        try {
                                ServicePointManager.SecurityProtocol |= (SecurityProtocolType)3072; // SecurityProtocolType.Tls12
                                RaiseTaskSetEvent(TaskEventType.PING, string.Empty, 99);
                        } catch (NotSupportedException) {
-                               RaiseTaskSetEvent(TaskEventType.WARNING, "TLSv1.2は有効ではありません", 99);
+                               RaiseTaskSetEvent(TaskEventType.INFO, "TLSv1.2は有効ではありません", 99);
                        }
                        
                        RaiseTaskSetEvent(TaskEventType.COMPLETED, "セキュリティプロトコル設定の確認", 100);