• R/O
  • HTTP
  • SSH
  • HTTPS

AppliStation: 提交

AppliStation


Commit MetaInfo

修订版ce17624060e5c18fc1f01742f00e4275bfd2dd3c (tree)
时间2017-10-11 00:16:04
作者ttp <ttp@user...>
Commiterttp

Log Message

na-get-lib,TLSv1.1/1.2使用不能時のメッセージをWARNINGから単なるINFOに変更

更改概述

差异

--- a/na-get-lib/NaGet.SubCommands.SubTask/SecurityProtocolConfigSubTask.cs
+++ b/na-get-lib/NaGet.SubCommands.SubTask/SecurityProtocolConfigSubTask.cs
@@ -28,14 +28,14 @@ namespace NaGet.SubCommands.SubTask
2828 ServicePointManager.SecurityProtocol |= (SecurityProtocolType)768; // SecurityProtocolType.Tls11
2929 RaiseTaskSetEvent(TaskEventType.PING, string.Empty, 66);
3030 } catch (NotSupportedException) {
31- RaiseTaskSetEvent(TaskEventType.WARNING, "TLSv1.1は有効ではありません", 66);
31+ RaiseTaskSetEvent(TaskEventType.INFO, "TLSv1.1は有効ではありません", 66);
3232 }
3333
3434 try {
3535 ServicePointManager.SecurityProtocol |= (SecurityProtocolType)3072; // SecurityProtocolType.Tls12
3636 RaiseTaskSetEvent(TaskEventType.PING, string.Empty, 99);
3737 } catch (NotSupportedException) {
38- RaiseTaskSetEvent(TaskEventType.WARNING, "TLSv1.2は有効ではありません", 99);
38+ RaiseTaskSetEvent(TaskEventType.INFO, "TLSv1.2は有効ではありません", 99);
3939 }
4040
4141 RaiseTaskSetEvent(TaskEventType.COMPLETED, "セキュリティプロトコル設定の確認", 100);
Show on old repository browser