> diff --git a/src/usr.sbin/relayd/hce.c b/src/usr.sbin/relayd/hce.c
> index 5233e2c..4a1bf1c 100644
> --- a/src/usr.sbin/relayd/hce.c
> +++ b/src/usr.sbin/relayd/hce.c
> @@ -94,6 +94,9 @@ hce_setup_events(void)
>                             table->tls_cfg != NULL)
>                                 continue;
>                         table->tls_cfg = tls_config_new();
> +                       if (table->tls_cfg == NULL) {
> +                               fatalx("%s: tls_config_new", __func__);
> +                       }

I have applied a version of this diff. Thanks!

Reply via email to