From a163f82aa9483c77caf55cf9c857051254306eed Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 11 Jul 2015 16:06:58 +0200 Subject: [PATCH 1/1] ssl_check_cert option does not have to be given --- client-scripts/dyn-ns-client | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-scripts/dyn-ns-client b/client-scripts/dyn-ns-client index 5006fbd..78a6854 100755 --- a/client-scripts/dyn-ns-client +++ b/client-scripts/dyn-ns-client @@ -29,7 +29,7 @@ VERBOSE_CHANGE = 1 VERBOSE_FULL = 2 def sslContext(config): - if config['DEFAULT']['ssl_check_cert'].lower() in ('0', 'false', 'no'): + if config['DEFAULT'].get('ssl_check_cert', 'yes').lower() in ('0', 'false', 'no'): context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) return context else: -- 2.30.2