projects
/
dyn-nsupdate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e842c9
)
ssl_check_cert option does not have to be given
author
Ralf Jung
<post@ralfj.de>
Sat, 11 Jul 2015 14:06:58 +0000
(16:06 +0200)
committer
Ralf Jung
<post@ralfj.de>
Sat, 11 Jul 2015 14:06:58 +0000
(16:06 +0200)
client-scripts/dyn-ns-client
patch
|
blob
|
history
diff --git
a/client-scripts/dyn-ns-client
b/client-scripts/dyn-ns-client
index 5006fbddc5c5d386373280e05ea708aa12af6e8b..78a68541d9905b082028342a24576ff12b6c0f50 100755
(executable)
--- 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):
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:
context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
return context
else: