diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2019-06-30 15:01:11 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2019-06-30 15:01:11 +0000 |
commit | 366b94c4a9552acfb560d3234aea0955ebc1eb8e (patch) | |
tree | 0bee3a4dbb699714374eeab0af43e63f1bf9672d /daemon/unbound.c | |
parent | 4713c21a1ac91081e50e474d11fcec002b43a562 (diff) |
Diffstat (limited to 'daemon/unbound.c')
-rw-r--r-- | daemon/unbound.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/unbound.c b/daemon/unbound.c index 4a508c13878b..6cc8225f5d18 100644 --- a/daemon/unbound.c +++ b/daemon/unbound.c @@ -443,7 +443,8 @@ perform_setup(struct daemon* daemon, struct config_file* cfg, int debug_mode, } } #endif - if(cfg->tls_session_ticket_keys.first) { + if(cfg->tls_session_ticket_keys.first && + cfg->tls_session_ticket_keys.first->str[0] != 0) { if(!listen_sslctx_setup_ticket_keys(daemon->listen_sslctx, cfg->tls_session_ticket_keys.first)) { fatal_exit("could not set session ticket SSL_CTX"); } |