summaryrefslogtreecommitdiff
path: root/src/conf_parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_parser.y')
-rw-r--r--src/conf_parser.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf_parser.y b/src/conf_parser.y
index 128696a..f7a960b 100644
--- a/src/conf_parser.y
+++ b/src/conf_parser.y
@@ -2073,7 +2073,8 @@ connect_entry: CONNECT
if (block_state.cert.buf[0])
conf->certfp = xstrdup(block_state.cert.buf);
- conf->cipher_list = xstrdup(block_state.ciph.buf);
+ if (block_state.ciph.buf[0])
+ conf->cipher_list = xstrdup(block_state.ciph.buf);
dlinkMoveList(&block_state.leaf.list, &conf->leaf_list);
dlinkMoveList(&block_state.hub.list, &conf->hub_list);