From 31149b88b909a65b21fe488dd3817d1d1ecdedc5 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 23 Jan 2015 16:08:34 -0600 Subject: [PATCH] Add prints when client and server TLS is disabled. --- btcwallet.go | 2 ++ rpcserver.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/btcwallet.go b/btcwallet.go index c424e1a..08aa705 100644 --- a/btcwallet.go +++ b/btcwallet.go @@ -99,6 +99,8 @@ func walletMain() error { // with nil certs and without the client connection certs = nil } + } else { + log.Info("Client TLS is disabled") } rpcc, err := chain.NewClient(activeNet.Params, cfg.RPCConnect, cfg.BtcdUsername, cfg.BtcdPassword, certs, cfg.DisableClientTLS) diff --git a/rpcserver.go b/rpcserver.go index b5b60f1..ae89edb 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -343,6 +343,8 @@ func newRPCServer(listenAddrs []string, maxPost, maxWebsockets int64) (*rpcServe listenFunc = func(net string, laddr string) (net.Listener, error) { return tls.Listen(net, laddr, &tlsConfig) } + } else { + log.Info("Server TLS is disabled") } ipv4ListenAddrs, ipv6ListenAddrs, err := parseListeners(listenAddrs)