From fd618adec139dadb2662b7e5a8a3e6190654b2af Mon Sep 17 00:00:00 2001 From: crusader Date: Sat, 28 Apr 2018 00:23:30 +0900 Subject: [PATCH] ing --- core/constants/network-crypto.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/constants/network-crypto.go b/core/constants/network-crypto.go index fe54cf2..71485ea 100644 --- a/core/constants/network-crypto.go +++ b/core/constants/network-crypto.go @@ -8,15 +8,18 @@ import ( type CryptoType int const ( - CryptoTypeTLS CryptoType = iota + CryptoTypeNONE CryptoType = iota + CryptoTypeTLS ) var ( cryptoTypeID = map[CryptoType]string{ - CryptoTypeTLS: "TLS", + CryptoTypeNONE: "", + CryptoTypeTLS: "TLS", } cryptoTypeName = map[string]CryptoType{ + "": CryptoTypeNONE, "TLS": CryptoTypeTLS, } )